summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 63f5f1852..473162b93 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -645,8 +645,8 @@ void Client::gameClear()
delete2(popupManager);
delete2(gui);
- if (Net::getInventoryHandler())
- Net::getInventoryHandler()->clear();
+ if (inventoryHandler)
+ inventoryHandler->clear();
if (logger)
logger->log1("Quitting3");