diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-29 20:45:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-29 20:45:54 +0300 |
commit | 5b4160a49385bc6895681c5d103a4a5716829e4b (patch) | |
tree | 2b0119eef31a34b6345ce2b6f49ff8f0cfbca499 /src/actorspritemanager.cpp | |
parent | 085abf777701c8bdb3091084fe851b125e787ae1 (diff) | |
download | manaverse-5b4160a49385bc6895681c5d103a4a5716829e4b.tar.gz manaverse-5b4160a49385bc6895681c5d103a4a5716829e4b.tar.bz2 manaverse-5b4160a49385bc6895681c5d103a4a5716829e4b.tar.xz manaverse-5b4160a49385bc6895681c5d103a4a5716829e4b.zip |
Simplify remove listener calls.
Diffstat (limited to 'src/actorspritemanager.cpp')
-rw-r--r-- | src/actorspritemanager.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/actorspritemanager.cpp b/src/actorspritemanager.cpp index 803a30e7e..758a452b1 100644 --- a/src/actorspritemanager.cpp +++ b/src/actorspritemanager.cpp @@ -203,11 +203,7 @@ ActorSpriteManager::ActorSpriteManager() : ActorSpriteManager::~ActorSpriteManager() { - config.removeListener("targetDeadPlayers", this); - config.removeListener("targetOnlyReachable", this); - config.removeListener("cyclePlayers", this); - config.removeListener("cycleMonsters", this); - config.removeListener("extMouseTargeting", this); + config.removeListeners(this); storeAttackList(); clear(); } |