summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorChuck Miller <shadowmil@gmail.com>2009-05-12 05:24:26 -0400
committerChuck Miller <shadowmil@gmail.com>2009-05-12 06:07:59 -0400
commit5d1c423648bc138fe4a67908a0f16247a80e5967 (patch)
treeda883e1f0c57613e441d579cb786a58462711c31 /src/localplayer.cpp
parent260e22a429311e597e91e2d9a149c8fdbf5df5b3 (diff)
downloadmana-5d1c423648bc138fe4a67908a0f16247a80e5967.tar.gz
mana-5d1c423648bc138fe4a67908a0f16247a80e5967.tar.bz2
mana-5d1c423648bc138fe4a67908a0f16247a80e5967.tar.xz
mana-5d1c423648bc138fe4a67908a0f16247a80e5967.zip
Makes ItemContainer use indexes for selected and highlighted items, rather then Item pointers.
As suggested by Bjorn
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 8a60a4b3..b571c4b0 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -346,11 +346,6 @@ void LocalPlayer::inviteToParty(Player *player)
Net::getPartyHandler()->invite(player);
}
-void LocalPlayer::moveInvItem(Item *item, int newIndex)
-{
- Net::getInventoryHandler()->moveItem(item->getInvIndex(), newIndex);
-}
-
void LocalPlayer::equipItem(Item *item)
{
Net::getInventoryHandler()->equipItem(item);