summaryrefslogtreecommitdiff
path: root/src/net/tmwa/itemhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-16 13:57:49 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-16 13:57:49 +0300
commit29a39909e3f53305c4e29fdcba863f94603b8763 (patch)
tree54681b323307085e5f1fce7f8a5b341c50b63f49 /src/net/tmwa/itemhandler.cpp
parent41cc92f73e39cec5dfea6b1164176610cccc7df4 (diff)
downloadmv-29a39909e3f53305c4e29fdcba863f94603b8763.tar.gz
mv-29a39909e3f53305c4e29fdcba863f94603b8763.tar.bz2
mv-29a39909e3f53305c4e29fdcba863f94603b8763.tar.xz
mv-29a39909e3f53305c4e29fdcba863f94603b8763.zip
Add missing fields into flooritem.
Diffstat (limited to 'src/net/tmwa/itemhandler.cpp')
-rw-r--r--src/net/tmwa/itemhandler.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/net/tmwa/itemhandler.cpp b/src/net/tmwa/itemhandler.cpp
index 745c79865..dfe2023f4 100644
--- a/src/net/tmwa/itemhandler.cpp
+++ b/src/net/tmwa/itemhandler.cpp
@@ -81,8 +81,14 @@ void ItemHandler::processItemDropped(Net::MessageIn &msg)
if (actorManager)
{
- actorManager->createItem(id, itemId,
- x, y, amount, identify, subX, subY);
+ actorManager->createItem(id,
+ itemId,
+ x, y,
+ 0,
+ amount,
+ identify,
+ Identified_false,
+ subX, subY);
}
}