diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-03-08 23:37:30 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-03-08 23:37:30 +0200 |
commit | 958b06cd741311d42c03c6b91c64ea01c713f516 (patch) | |
tree | b309d316087f85cdf57d266bf678f9923007899b /src/net | |
parent | ee1a1c0e14058fb1a31904a6e2cf0c0ce90bc26b (diff) | |
download | plus-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')
-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) { |