diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-07-11 00:12:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-07-11 00:12:43 +0300 |
commit | 368afa4bc05e5b66e521b6c881cd8e8f260cf5df (patch) | |
tree | ec9bd6a3c992c46550ad9aa396f10862257db68d /src/client.cpp | |
parent | ee75580d40c5c444d184a6ecbeb99493ba42085a (diff) | |
download | manaverse-368afa4bc05e5b66e521b6c881cd8e8f260cf5df.tar.gz manaverse-368afa4bc05e5b66e521b6c881cd8e8f260cf5df.tar.bz2 manaverse-368afa4bc05e5b66e521b6c881cd8e8f260cf5df.tar.xz manaverse-368afa4bc05e5b66e521b6c881cd8e8f260cf5df.zip |
Add missing checks into other files.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 3 |
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(); |