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/client.cpp | |
parent | 085abf777701c8bdb3091084fe851b125e787ae1 (diff) | |
download | plus-5b4160a49385bc6895681c5d103a4a5716829e4b.tar.gz plus-5b4160a49385bc6895681c5d103a4a5716829e4b.tar.bz2 plus-5b4160a49385bc6895681c5d103a4a5716829e4b.tar.xz plus-5b4160a49385bc6895681c5d103a4a5716829e4b.zip |
Simplify remove listener calls.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/client.cpp b/src/client.cpp index 0324bb8cc..95e49c6aa 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -707,11 +707,7 @@ void Client::gameClear() { if (logger) logger->log1("Quitting1"); - config.removeListener("fpslimit", this); - config.removeListener("guialpha", this); - config.removeListener("gamma", this); - config.removeListener("particleEmitterSkip", this); - config.removeListener("vsync", this); + config.removeListeners(this); SDL_RemoveTimer(mLogicCounterId); SDL_RemoveTimer(mSecondsCounterId); |