From f3a4550123ee3b7ee58341df58f013b7da2a1da5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 3 Jan 2017 02:37:42 +0300 Subject: Fix too long lines. --- src/resources/map/maplayer.cpp | 2 -- src/resources/map/maplayer.h | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src/resources') 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, -- cgit v1.2.3-60-g2f50