From a1b0a12f03f56b0a60f9d4f6e28f5714200aee96 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 17 Aug 2015 02:24:43 +0300 Subject: Remove some mode outdated color related code from tmwa. --- src/net/tmwa/itemhandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/tmwa/itemhandler.cpp') 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(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); } -- cgit v1.2.3-70-g09d2