summaryrefslogtreecommitdiff
path: root/src/resources/map
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-03 02:37:42 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-03 02:37:42 +0300
commitf3a4550123ee3b7ee58341df58f013b7da2a1da5 (patch)
tree8faaa466f88f41a01e87dce7ff9e191206bf3100 /src/resources/map
parent2bd95eb9e520b7455560cb09694be6163b6f59b1 (diff)
downloadplus-f3a4550123ee3b7ee58341df58f013b7da2a1da5.tar.gz
plus-f3a4550123ee3b7ee58341df58f013b7da2a1da5.tar.bz2
plus-f3a4550123ee3b7ee58341df58f013b7da2a1da5.tar.xz
plus-f3a4550123ee3b7ee58341df58f013b7da2a1da5.zip
Fix too long lines.
Diffstat (limited to 'src/resources/map')
-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,