diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-26 21:18:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-26 23:23:32 +0300 |
commit | 0380eec2d9d03a2541e4f89640f452fb96a7914a (patch) | |
tree | 78d28c04511d26956fe5dad1bff30063cd755a88 /src/maplayer.cpp | |
parent | 344fc37de3bbc385e04ee4109600625f9aefbeba (diff) | |
download | manaplus-0380eec2d9d03a2541e4f89640f452fb96a7914a.tar.gz manaplus-0380eec2d9d03a2541e4f89640f452fb96a7914a.tar.bz2 manaplus-0380eec2d9d03a2541e4f89640f452fb96a7914a.tar.xz manaplus-0380eec2d9d03a2541e4f89640f452fb96a7914a.zip |
Loading map layer masks from layer properties.
Diffstat (limited to 'src/maplayer.cpp')
-rw-r--r-- | src/maplayer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/maplayer.cpp b/src/maplayer.cpp index 67df3930b..84514cdaa 100644 --- a/src/maplayer.cpp +++ b/src/maplayer.cpp @@ -43,7 +43,7 @@ #include "debug.h" MapLayer::MapLayer(const int x, const int y, const int width, const int height, - const bool fringeLayer): + const bool fringeLayer, const int mask): mX(x), mY(y), mWidth(width), @@ -52,6 +52,7 @@ MapLayer::MapLayer(const int x, const int y, const int width, const int height, mSpecialLayer(nullptr), mTempLayer(nullptr), mTempRows(), + mMask(mask), mIsFringeLayer(fringeLayer), mHighlightAttackRange(config.getBoolValue("highlightAttackRange")) { |