diff options
Diffstat (limited to 'src/net/inventoryhandler.cpp')
-rw-r--r-- | src/net/inventoryhandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/inventoryhandler.cpp b/src/net/inventoryhandler.cpp index 67038c99..400c570d 100644 --- a/src/net/inventoryhandler.cpp +++ b/src/net/inventoryhandler.cpp @@ -30,6 +30,7 @@ #include "../resources/iteminfo.h" #include "../item.h" +#include "../itemshortcut.h" #include "../localplayer.h" #include "../gui/chat.h" @@ -72,13 +73,13 @@ void InventoryHandler::handleMessage(MessageIn *msg) msg->skip(8); // card (4 shorts) player_node->addInvItem(index, itemId, amount, false); - // Trick because arrows are not considered equipment if (itemId == 1199 || itemId == 529) { player_node->getInvItem(index)->setEquipment(true); } } + itemShortcut->load(); break; case SMSG_PLAYER_INVENTORY_ADD: |