summaryrefslogtreecommitdiff
path: root/src/net/tmwa/itemhandler.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/itemhandler.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/itemhandler.cpp')
-rw-r--r--src/net/tmwa/itemhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/itemhandler.cpp b/src/net/tmwa/itemhandler.cpp
index b99ca12dc..58deac0c2 100644
--- a/src/net/tmwa/itemhandler.cpp
+++ b/src/net/tmwa/itemhandler.cpp
@@ -72,7 +72,7 @@ void ItemHandler::processItemDropped(Net::MessageIn &msg)
{
const BeingId id = msg.readBeingId("item object id");
const int itemId = msg.readInt16("item id");
- const ItemColor identify = fromInt(msg.readUInt8("identify"), ItemColor);
+ const Identified identify = fromInt(msg.readUInt8("identify"), Identified);
const int x = msg.readInt16("x");
const int y = msg.readInt16("y");
const int subX = static_cast<int>(msg.readInt8("sub x"));
@@ -87,8 +87,8 @@ void ItemHandler::processItemDropped(Net::MessageIn &msg)
0,
amount,
0,
+ ItemColor_one,
identify,
- Identified_false,
subX, subY,
nullptr);
}