diff options
Diffstat (limited to 'src/resources/map')
-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) { |