diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/tmwa/inventoryhandler.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/net/tmwa/inventoryhandler.cpp b/src/net/tmwa/inventoryhandler.cpp index afec336c7..203edaa26 100644 --- a/src/net/tmwa/inventoryhandler.cpp +++ b/src/net/tmwa/inventoryhandler.cpp @@ -291,12 +291,15 @@ void InventoryHandler::handleMessage(Net::MessageIn &msg) if (err) { if (player_node) - player_node->pickedUp(itemInfo, 0, err); + player_node->pickedUp(itemInfo, 0, identified, err); } else { if (player_node) - player_node->pickedUp(itemInfo, amount, PICKUP_OKAY); + { + player_node->pickedUp(itemInfo, amount, + identified, PICKUP_OKAY); + } if (inventory) { |