diff options
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 8d538f94..fea3bae8 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -357,18 +357,6 @@ void LocalPlayer::equipItem(Item *item) Net::getInventoryHandler()->equipItem(item); } -#ifdef TMWSERV_SUPPORT - -void LocalPlayer::unequipItem(int slot) -{ - Net::GameServer::Player::unequip(slot); - - // Tidy equipment directly to avoid weapon still shown bug, for instance - mEquipment->setEquipment(slot, 0); -} - -#endif - void LocalPlayer::unequipItem(Item *item) { Net::getInventoryHandler()->unequipItem(item); |