summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
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();