summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-29 20:45:54 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-29 20:45:54 +0300
commit5b4160a49385bc6895681c5d103a4a5716829e4b (patch)
tree2b0119eef31a34b6345ce2b6f49ff8f0cfbca499 /src/map.cpp
parent085abf777701c8bdb3091084fe851b125e787ae1 (diff)
downloadplus-5b4160a49385bc6895681c5d103a4a5716829e4b.tar.gz
plus-5b4160a49385bc6895681c5d103a4a5716829e4b.tar.bz2
plus-5b4160a49385bc6895681c5d103a4a5716829e4b.tar.xz
plus-5b4160a49385bc6895681c5d103a4a5716829e4b.zip
Simplify remove listener calls.
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/map.cpp b/src/map.cpp
index b8767e5e4..d983508b1 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -177,9 +177,7 @@ Map::Map(int width, int height, int tileWidth, int tileHeight):
Map::~Map()
{
- config.removeListener("OverlayDetail", this);
- config.removeListener("guialpha", this);
- config.removeListener("beingopacity", this);
+ config.removeListeners(this);
// delete metadata, layers, tilesets and overlays
delete [] mMetaTiles;