summaryrefslogtreecommitdiff
path: root/src/resources/map/objectslayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/map/objectslayer.cpp')
-rw-r--r--src/resources/map/objectslayer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resources/map/objectslayer.cpp b/src/resources/map/objectslayer.cpp
index 7af758d7f..b121fbcf9 100644
--- a/src/resources/map/objectslayer.cpp
+++ b/src/resources/map/objectslayer.cpp
@@ -24,7 +24,9 @@
#include "debug.h"
-ObjectsLayer::ObjectsLayer(const unsigned width, const unsigned height) :
+ObjectsLayer::ObjectsLayer(const unsigned width,
+ const unsigned height) :
+ MemoryCounter(),
mTiles(new MapObjectList*[width * height]),
mWidth(width),
mHeight(height)