summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-07-11 00:12:43 +0300
committerAndrei Karas <akaras@inbox.ru>2015-07-11 00:12:43 +0300
commit368afa4bc05e5b66e521b6c881cd8e8f260cf5df (patch)
treeec9bd6a3c992c46550ad9aa396f10862257db68d /src/client.cpp
parentee75580d40c5c444d184a6ecbeb99493ba42085a (diff)
downloadplus-368afa4bc05e5b66e521b6c881cd8e8f260cf5df.tar.gz
plus-368afa4bc05e5b66e521b6c881cd8e8f260cf5df.tar.bz2
plus-368afa4bc05e5b66e521b6c881cd8e8f260cf5df.tar.xz
plus-368afa4bc05e5b66e521b6c881cd8e8f260cf5df.zip
Add missing checks into other files.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 981ead21c..a94134baf 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -900,8 +900,7 @@ int Client::gameExec()
delete2(mGame);
Game::clearInstance();
ResourceManager *const resman = ResourceManager::getInstance();
- if (resman)
- resman->cleanOrphans();
+ resman->cleanOrphans();
Party::clearParties();
Guild::clearGuilds();
NpcDialog::clearDialogs();