From 958b06cd741311d42c03c6b91c64ea01c713f516 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 8 Mar 2011 23:37:30 +0200 Subject: Replace also color constants in pickup messages. --- src/net/tmwa/inventoryhandler.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/net/tmwa') 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) { -- cgit v1.2.3-70-g09d2