summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-06 22:46:15 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-06 22:46:15 +0200
commitf0fd20fdd649eb61fa0d2444d910a2b0882e3580 (patch)
treeee879af37c773e8a40b353e6e1e714ab5e1f45b1 /src/localplayer.cpp
parent7ee2220427d8735c777f504517c24c49afda699f (diff)
downloadmana-f0fd20fdd649eb61fa0d2444d910a2b0882e3580.tar.gz
mana-f0fd20fdd649eb61fa0d2444d910a2b0882e3580.tar.bz2
mana-f0fd20fdd649eb61fa0d2444d910a2b0882e3580.tar.xz
mana-f0fd20fdd649eb61fa0d2444d910a2b0882e3580.zip
Moved many MessageOut constructions around
No real point in having these abstracted away twice. We're using network interfaces now instead of functions structured in namespaces.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp12
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);