summaryrefslogtreecommitdiff
path: root/src/resources/map/maplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/map/maplayer.cpp')
-rw-r--r--src/resources/map/maplayer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resources/map/maplayer.cpp b/src/resources/map/maplayer.cpp
index 03901d00a..5d81cfb09 100644
--- a/src/resources/map/maplayer.cpp
+++ b/src/resources/map/maplayer.cpp
@@ -46,7 +46,8 @@
#include "debug.h"
-MapLayer::MapLayer(const int x,
+MapLayer::MapLayer(const std::string &name,
+ const int x,
const int y,
const int width,
const int height,
@@ -63,6 +64,7 @@ MapLayer::MapLayer(const int x,
mDrawLayerFlags(MapType::NORMAL),
mSpecialLayer(nullptr),
mTempLayer(nullptr),
+ mName(name),
mTempRows(),
mMask(mask),
mTileCondition(tileCondition),