diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-22 17:35:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-22 20:00:36 +0300 |
commit | 6fa671cdc65cd3ad507eca7dbee604418e449aa7 (patch) | |
tree | 9090841ed74fbb80427310cd96118759267b2941 /src/resources/map/maplayer.cpp | |
parent | 1b853996cb2616e181e8822f74d79bd258c97c14 (diff) | |
download | plus-6fa671cdc65cd3ad507eca7dbee604418e449aa7.tar.gz plus-6fa671cdc65cd3ad507eca7dbee604418e449aa7.tar.bz2 plus-6fa671cdc65cd3ad507eca7dbee604418e449aa7.tar.xz plus-6fa671cdc65cd3ad507eca7dbee604418e449aa7.zip |
Fix code style.
Diffstat (limited to 'src/resources/map/maplayer.cpp')
-rw-r--r-- | src/resources/map/maplayer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/resources/map/maplayer.cpp b/src/resources/map/maplayer.cpp index 2389de12b..9b73046bd 100644 --- a/src/resources/map/maplayer.cpp +++ b/src/resources/map/maplayer.cpp @@ -570,12 +570,11 @@ void MapLayer::drawFringe(Graphics *const graphics, int startX, int startY, { const int px = x32 + dx; const int py = py0 - img->mBounds.h; - int c = 0; if (mSpecialFlag || img->mBounds.h <= mapTileSize) { int width = 0; // here need not draw over player position - c = getTileDrawWidth(img, endX - x, width); + const int c = getTileDrawWidth(img, endX - x, width); if (!c) { |