summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-17 10:55:20 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 10:55:20 +0300
commitfd050698f74b5dc7a9867bc93ba6b7c65ef2462f (patch)
tree246017e7d1b399e60a5d7b97a7106cd75587b88f /src/client.cpp
parent4228763829f71ec4db50ed185483d7707c5e47eb (diff)
downloadmanaverse-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.tar.gz
manaverse-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.tar.bz2
manaverse-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.tar.xz
manaverse-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.zip
Remove getter for inventoryHandler.
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");