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/net/tmwa/playerhandler.cpp | |
parent | 4228763829f71ec4db50ed185483d7707c5e47eb (diff) | |
download | plus-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.tar.gz plus-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.tar.bz2 plus-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.tar.xz plus-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.zip |
Remove getter for inventoryHandler.
Diffstat (limited to 'src/net/tmwa/playerhandler.cpp')
-rw-r--r-- | src/net/tmwa/playerhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp index c2791e0d9..baf8e43a4 100644 --- a/src/net/tmwa/playerhandler.cpp +++ b/src/net/tmwa/playerhandler.cpp @@ -186,7 +186,7 @@ void PlayerHandler::pickUp(const FloorItem *const floorItem) const MessageOut outMsg(CMSG_ITEM_PICKUP); outMsg.writeInt32(floorItem->getId()); TmwAthena::InventoryHandler *const handler = - static_cast<TmwAthena::InventoryHandler*>(Net::getInventoryHandler()); + static_cast<TmwAthena::InventoryHandler*>(inventoryHandler); if (handler) handler->pushPickup(floorItem->getId()); } |