summaryrefslogtreecommitdiff
path: root/src/net/inventoryhandler.cpp
diff options
context:
space:
mode:
authorDennis Friis <peavey@placid.dk>2008-04-24 20:49:30 +0000
committerDennis Friis <peavey@placid.dk>2008-04-24 20:49:30 +0000
commit3676b78c6e6e8089c0b6e38c0983bd99ea22e756 (patch)
tree30dadd8b4e00f70245279eeee04c71347f7dbc60 /src/net/inventoryhandler.cpp
parent8c0964dbb59a10c47d2040686b03201ab5688092 (diff)
downloadmana-3676b78c6e6e8089c0b6e38c0983bd99ea22e756.tar.gz
mana-3676b78c6e6e8089c0b6e38c0983bd99ea22e756.tar.bz2
mana-3676b78c6e6e8089c0b6e38c0983bd99ea22e756.tar.xz
mana-3676b78c6e6e8089c0b6e38c0983bd99ea22e756.zip
Make shortcut container ID based instead of slot based. Fixes items shifting around often causing equipment to be lost.
Diffstat (limited to 'src/net/inventoryhandler.cpp')
-rw-r--r--src/net/inventoryhandler.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/net/inventoryhandler.cpp b/src/net/inventoryhandler.cpp
index 7ed7e38d..a2190c1e 100644
--- a/src/net/inventoryhandler.cpp
+++ b/src/net/inventoryhandler.cpp
@@ -80,7 +80,6 @@ void InventoryHandler::handleMessage(MessageIn *msg)
player_node->getInvItem(index)->setEquipment(true);
}
}
- itemShortcut->load();
break;
case SMSG_PLAYER_INVENTORY_ADD: