diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-17 10:55:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-17 10:55:20 +0300 |
commit | fd050698f74b5dc7a9867bc93ba6b7c65ef2462f (patch) | |
tree | 246017e7d1b399e60a5d7b97a7106cd75587b88f /src/client.cpp | |
parent | 4228763829f71ec4db50ed185483d7707c5e47eb (diff) | |
download | manaplus-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.tar.gz manaplus-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.tar.bz2 manaplus-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.tar.xz manaplus-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.zip |
Remove getter for inventoryHandler.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 4 |
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"); |