summaryrefslogtreecommitdiff
path: root/src/net/tmwa/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-17 02:24:43 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-17 02:24:43 +0300
commita1b0a12f03f56b0a60f9d4f6e28f5714200aee96 (patch)
tree11257c0563abd7256ba191cfceb6c20c1b558a06 /src/net/tmwa/inventoryhandler.cpp
parentd1dbf42aee628e0d3566b92c6e967c6667ac3142 (diff)
downloadmv-a1b0a12f03f56b0a60f9d4f6e28f5714200aee96.tar.gz
mv-a1b0a12f03f56b0a60f9d4f6e28f5714200aee96.tar.bz2
mv-a1b0a12f03f56b0a60f9d4f6e28f5714200aee96.tar.xz
mv-a1b0a12f03f56b0a60f9d4f6e28f5714200aee96.zip
Remove some mode outdated color related code from tmwa.
Diffstat (limited to 'src/net/tmwa/inventoryhandler.cpp')
-rw-r--r--src/net/tmwa/inventoryhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/inventoryhandler.cpp b/src/net/tmwa/inventoryhandler.cpp
index 05ed6e40d..98c0a46b6 100644
--- a/src/net/tmwa/inventoryhandler.cpp
+++ b/src/net/tmwa/inventoryhandler.cpp
@@ -381,7 +381,7 @@ void InventoryHandler::processPlayerInventoryAdd(Net::MessageIn &msg)
{
localPlayer->pickedUp(itemInfo,
0,
- fromInt(identified, ItemColor),
+ ItemColor_one,
floorId,
pickup);
}
@@ -392,7 +392,7 @@ void InventoryHandler::processPlayerInventoryAdd(Net::MessageIn &msg)
{
localPlayer->pickedUp(itemInfo,
amount,
- fromInt(identified, ItemColor),
+ ItemColor_one,
floorId,
Pickup::OKAY);
}