diff options
author | Joshua Langley <joshlangley[at]optusnet.com.au> | 2007-08-08 09:35:21 +0000 |
---|---|---|
committer | Joshua Langley <joshlangley[at]optusnet.com.au> | 2007-08-08 09:35:21 +0000 |
commit | f80ff244eea2c3e6b37acf156f0d6933220d2cce (patch) | |
tree | b18ec0bdfde0f2a780942732032f17fc4cb08dda /src/localplayer.cpp | |
parent | c7ca39c9fc863fbd59f9e859cbcfc2a65188f6f2 (diff) | |
download | mana-f80ff244eea2c3e6b37acf156f0d6933220d2cce.tar.gz mana-f80ff244eea2c3e6b37acf156f0d6933220d2cce.tar.bz2 mana-f80ff244eea2c3e6b37acf156f0d6933220d2cce.tar.xz mana-f80ff244eea2c3e6b37acf156f0d6933220d2cce.zip |
Re-designed equipment window, un-equip created.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
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); |