summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/resources/map/maplayer.cpp2
-rw-r--r--src/resources/map/maplayer.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/resources/map/maplayer.cpp b/src/resources/map/maplayer.cpp
index 7052d06a4..8a4e86866 100644
--- a/src/resources/map/maplayer.cpp
+++ b/src/resources/map/maplayer.cpp
@@ -559,8 +559,6 @@ void MapLayer::drawFringe(Graphics *const graphics,
TileInfo *tilePtr = &mTiles[CAST_SIZE(x0 + yWidth)];
if (tilePtr->isEnabled == false)
{
- // here need draw special layers only and continue
- // for now special layer can be not drawed, if skipped before for
drawSpecialLayer(graphics,
y,
0,
diff --git a/src/resources/map/maplayer.h b/src/resources/map/maplayer.h
index 19abac17c..adffa7597 100644
--- a/src/resources/map/maplayer.h
+++ b/src/resources/map/maplayer.h
@@ -182,7 +182,8 @@ class MapLayer final: public MemoryCounter, public ConfigListener
static int getTileDrawWidth(const TileInfo *restrict img,
const int endX,
int &restrict width,
- int &restrict nextTile) A_WARN_UNUSED A_NONNULL(1);
+ int &restrict nextTile)
+ A_WARN_UNUSED A_NONNULL(1);
static int getEmptyTileDrawWidth(const TileInfo *restrict img,
const int endX,