summaryrefslogtreecommitdiff
path: root/src/being/localplayer.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/being/localplayer.cpp
parent4228763829f71ec4db50ed185483d7707c5e47eb (diff)
downloadplus-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.tar.gz
plus-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.tar.bz2
plus-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.tar.xz
plus-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.zip
Remove getter for inventoryHandler.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index aa92cf6d7..f01a3171a 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -2925,7 +2925,7 @@ void LocalPlayer::imitateOutfit(const Being *const player,
else
{
// logger->log("have unequip %d", sprite);
- const int equipmentSlot = Net::getInventoryHandler()
+ const int equipmentSlot = inventoryHandler
->convertFromServerSlot(sprite);
// logger->log("equipmentSlot: " + toString(equipmentSlot));
if (equipmentSlot == ItemSlot::PROJECTILE_SLOT)