mirror of
https://github.com/edubart/otclient.git
synced 2025-10-18 21:43:26 +02:00
Get rid of trailing whitespace.
Commit generated by command: find -type f ! -path '*.git*' ! -path '*.png' ! -path '*.ico' ! -path \ '*.ogg' | xargs -I '{}' sed -i '{}' -e 's/\t*$//g' -e 's/ *$//g'
This commit is contained in:
@@ -100,7 +100,7 @@ public:
|
||||
HouseList getHouseList() { return m_houses; }
|
||||
HouseList filterHouses(uint32 townId);
|
||||
|
||||
private:
|
||||
private:
|
||||
HouseList m_houses;
|
||||
|
||||
protected:
|
||||
|
@@ -87,7 +87,7 @@ void MapView::draw(const Rect& rect)
|
||||
int drawFlags = 0;
|
||||
// First branch:
|
||||
// This is unlikely to be false because a lot of us
|
||||
// don't wanna hear their GPU fan while playing a
|
||||
// don't wanna hear their GPU fan while playing a
|
||||
// 2D game.
|
||||
//
|
||||
// Second & Third branch:
|
||||
|
@@ -412,7 +412,7 @@ void Minimap::saveOtmm(const std::string& fileName)
|
||||
fin->write(compressBuffer.data(), len);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// end of file
|
||||
Position invalidPos;
|
||||
fin->addU16(invalidPos.x);
|
||||
|
@@ -161,7 +161,7 @@ void Tile::draw(const Point& dest, float scaleFactor, int drawFlags, LightView *
|
||||
if(drawFlags & Otc::DrawOnTop)
|
||||
for(const ThingPtr& thing : m_things)
|
||||
if(thing->isOnTop())
|
||||
thing->draw(dest, scaleFactor, animate, lightView);
|
||||
thing->draw(dest, scaleFactor, animate, lightView);
|
||||
|
||||
// draw translucent light (for tiles beneath holes)
|
||||
if(hasTranslucentLight() && lightView) {
|
||||
@@ -482,7 +482,7 @@ ThingPtr Tile::getTopMultiUseThing()
|
||||
if(thing->isForceUse())
|
||||
return thing;
|
||||
}
|
||||
|
||||
|
||||
for(uint i = 0; i < m_things.size(); ++i) {
|
||||
ThingPtr thing = m_things[i];
|
||||
if(!thing->isGround() && !thing->isGroundBorder() && !thing->isOnBottom() && !thing->isOnTop()) {
|
||||
|
@@ -65,7 +65,7 @@ bool UIMinimap::setZoom(int zoom)
|
||||
else
|
||||
m_scale = 1;
|
||||
m_layout->update();
|
||||
|
||||
|
||||
onZoomChange(zoom, oldZoom);
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user