From f80ff244eea2c3e6b37acf156f0d6933220d2cce Mon Sep 17 00:00:00 2001 From: Joshua Langley Date: Wed, 8 Aug 2007 09:35:21 +0000 Subject: Re-designed equipment window, un-equip created. --- src/localplayer.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/localplayer.cpp') diff --git a/src/localplayer.cpp b/src/localplayer.cpp index b4fc5957..23d4c99b 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -107,11 +107,7 @@ void LocalPlayer::equipItem(Item *item) void LocalPlayer::unequipItem(int slot) { - // XXX Convert for new server - /* - MessageOut outMsg(CMSG_PLAYER_UNEQUIP); - outMsg.writeShort(item->getInvIndex()); - */ + Net::GameServer::Player::unequip(slot); // Tidy equipment directly to avoid weapon still shown bug, by instance mEquipment->setEquipment(slot, 0); -- cgit v1.2.3-70-g09d2