diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-10-23 20:05:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-10-23 20:05:05 +0300 |
commit | 70e9b4d7aaf0e93dc715a201b1cca12900c72b37 (patch) | |
tree | 3bf4e7f35b9c59cdda4fe54686bebbca7e41ef03 /src/resources/map | |
parent | cf1a1df92c0b6993df420456fce2654263e3dbc8 (diff) | |
download | manaplus-70e9b4d7aaf0e93dc715a201b1cca12900c72b37.tar.gz manaplus-70e9b4d7aaf0e93dc715a201b1cca12900c72b37.tar.bz2 manaplus-70e9b4d7aaf0e93dc715a201b1cca12900c72b37.tar.xz manaplus-70e9b4d7aaf0e93dc715a201b1cca12900c72b37.zip |
Fix code style.
Diffstat (limited to 'src/resources/map')
-rw-r--r-- | src/resources/map/maplayer.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/resources/map/maplayer.cpp b/src/resources/map/maplayer.cpp index 23e347483..89629ea65 100644 --- a/src/resources/map/maplayer.cpp +++ b/src/resources/map/maplayer.cpp @@ -597,7 +597,9 @@ void MapLayer::drawFringe(Graphics *const graphics, { int width = 0; // here need not draw over player position - const int c = getTileDrawWidth(tilePtr, endX - x, width); + const int c = getTileDrawWidth(tilePtr, + endX - x, + width); if (!c) { @@ -710,7 +712,8 @@ void MapLayer::updateConditionTiles(MetaTile *const metaTiles, for (int x = mX; x < width1; x ++, metaPtr ++, tilePtr ++) { if (metaPtr->blockmask & mTileCondition || - (metaPtr->blockmask == 0 && mTileCondition == BlockMask::GROUND)) + (metaPtr->blockmask == 0 && + mTileCondition == BlockMask::GROUND)) { tilePtr->isEnabled = true; } |