summaryrefslogtreecommitdiff
path: root/src/net/tmwa/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-08 23:37:30 +0200
committerAndrei Karas <akaras@inbox.ru>2011-03-08 23:37:30 +0200
commit958b06cd741311d42c03c6b91c64ea01c713f516 (patch)
treeb309d316087f85cdf57d266bf678f9923007899b /src/net/tmwa/inventoryhandler.cpp
parentee1a1c0e14058fb1a31904a6e2cf0c0ce90bc26b (diff)
downloadplus-958b06cd741311d42c03c6b91c64ea01c713f516.tar.gz
plus-958b06cd741311d42c03c6b91c64ea01c713f516.tar.bz2
plus-958b06cd741311d42c03c6b91c64ea01c713f516.tar.xz
plus-958b06cd741311d42c03c6b91c64ea01c713f516.zip
Replace also color constants in pickup messages.
Diffstat (limited to 'src/net/tmwa/inventoryhandler.cpp')
-rw-r--r--src/net/tmwa/inventoryhandler.cpp7
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)
{