summaryrefslogtreecommitdiff
path: root/src/resources/map/maplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-03 21:43:25 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-03 21:43:25 +0300
commit4039ef116901d4513c3535cc119dc40abd8e14df (patch)
tree238a2e6734adf42186871a9884a69af12fe8de66 /src/resources/map/maplayer.h
parentbccb486d184b26638d3e47507bc6260383950b8b (diff)
downloadmv-4039ef116901d4513c3535cc119dc40abd8e14df.tar.gz
mv-4039ef116901d4513c3535cc119dc40abd8e14df.tar.bz2
mv-4039ef116901d4513c3535cc119dc40abd8e14df.tar.xz
mv-4039ef116901d4513c3535cc119dc40abd8e14df.zip
Improve a bit pixel calculation in map layers.
Diffstat (limited to 'src/resources/map/maplayer.h')
-rw-r--r--src/resources/map/maplayer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/map/maplayer.h b/src/resources/map/maplayer.h
index 1fd3552e1..b4aec3ac3 100644
--- a/src/resources/map/maplayer.h
+++ b/src/resources/map/maplayer.h
@@ -174,6 +174,8 @@ class MapLayer final: public ConfigListener
private:
const int mX;
const int mY;
+ const int mPixelX;
+ const int mPixelY;
const int mWidth;
const int mHeight;
TileInfo *restrict const mTiles;