summaryrefslogtreecommitdiff
path: root/src/resources/map/map.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-29 18:51:23 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-29 18:51:23 +0300
commit0f8b2ddf88c1cdd6bfac1e76e8173bd12f57a441 (patch)
tree38f1e10d59cef374025498e4e5b07576bcf7e8f6 /src/resources/map/map.cpp
parent373e404d20dd75e46b14451164c0914df100e236 (diff)
downloadplus-0f8b2ddf88c1cdd6bfac1e76e8173bd12f57a441.tar.gz
plus-0f8b2ddf88c1cdd6bfac1e76e8173bd12f57a441.tar.bz2
plus-0f8b2ddf88c1cdd6bfac1e76e8173bd12f57a441.tar.xz
plus-0f8b2ddf88c1cdd6bfac1e76e8173bd12f57a441.zip
Add name into SpecialLayer memory object.
Diffstat (limited to 'src/resources/map/map.cpp')
-rw-r--r--src/resources/map/map.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/map/map.cpp b/src/resources/map/map.cpp
index 93b950ba5..43ed91daf 100644
--- a/src/resources/map/map.cpp
+++ b/src/resources/map/map.cpp
@@ -120,8 +120,8 @@ Map::Map(const int width, const int height,
mActorFixX(0),
mActorFixY(0),
mVersion(0),
- mSpecialLayer(new SpecialLayer(width, height)),
- mTempLayer(new SpecialLayer(width, height)),
+ mSpecialLayer(new SpecialLayer("special layer", width, height)),
+ mTempLayer(new SpecialLayer("temp layer", width, height)),
mObjects(new ObjectsLayer(width, height)),
mFringeLayer(nullptr),
mLastX(-1),