summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-08-07 19:07:15 +0300
committerAndrei Karas <akaras@inbox.ru>2011-08-07 21:56:29 +0300
commit21277ad5c877d90680b757b058a3759e8f8b5559 (patch)
tree71089c982d94f592b27ed690a5d52e013803ae17 /src/client.cpp
parentae1ba709d91bd59d05da7b3e434658ec652f2355 (diff)
downloadmanaplus-21277ad5c877d90680b757b058a3759e8f8b5559.tar.gz
manaplus-21277ad5c877d90680b757b058a3759e8f8b5559.tar.bz2
manaplus-21277ad5c877d90680b757b058a3759e8f8b5559.tar.xz
manaplus-21277ad5c877d90680b757b058a3759e8f8b5559.zip
Add auto adjust perfomance ability.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 68f31bd27..01543d8be 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -849,6 +849,7 @@ int Client::exec()
{
delete game;
game = 0;
+ Game::clearInstance();
ResourceManager *resman = ResourceManager::getInstance();
if (resman)
resman->cleanOrphans();