From 368afa4bc05e5b66e521b6c881cd8e8f260cf5df Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 11 Jul 2015 00:12:43 +0300 Subject: Add missing checks into other files. --- src/client.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/client.cpp') 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(); -- cgit v1.2.3-70-g09d2