From 029818ba44703c5151f8d916284e307b05d08fa9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 1 Nov 2013 00:09:32 +0300 Subject: Add configure option --enable-checks for check some calls (disabled by default) Also add configuration listeners removing in objects. --- src/map.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map.cpp') diff --git a/src/map.cpp b/src/map.cpp index e4ab0c60f..6071d22f2 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -199,6 +199,7 @@ Map::Map(const int width, const int height, Map::~Map() { config.removeListeners(this); + CHECKLISTENERS // delete metadata, layers, tilesets and overlays delete [] mMetaTiles; -- cgit v1.2.3-70-g09d2