summaryrefslogtreecommitdiff
path: root/src/net/tmwa/itemhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-24 01:39:45 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-24 01:39:45 +0300
commit07a9b9009f7b05fc39540430fa6639b493ed9829 (patch)
treebe4049d169daffd99122ecdc99ab0d0e974f54a5 /src/net/tmwa/itemhandler.cpp
parentbedfca1c1cb893c937d317dd658067166e9953e0 (diff)
downloadmv-07a9b9009f7b05fc39540430fa6639b493ed9829.tar.gz
mv-07a9b9009f7b05fc39540430fa6639b493ed9829.tar.bz2
mv-07a9b9009f7b05fc39540430fa6639b493ed9829.tar.xz
mv-07a9b9009f7b05fc39540430fa6639b493ed9829.zip
Add damaged attribute to floor items.
Diffstat (limited to 'src/net/tmwa/itemhandler.cpp')
-rw-r--r--src/net/tmwa/itemhandler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/tmwa/itemhandler.cpp b/src/net/tmwa/itemhandler.cpp
index 58deac0c2..60daadb75 100644
--- a/src/net/tmwa/itemhandler.cpp
+++ b/src/net/tmwa/itemhandler.cpp
@@ -89,6 +89,7 @@ void ItemHandler::processItemDropped(Net::MessageIn &msg)
0,
ItemColor_one,
identify,
+ Damaged_false,
subX, subY,
nullptr);
}
@@ -116,6 +117,7 @@ void ItemHandler::processItemVisible(Net::MessageIn &msg)
0,
ItemColor_one,
identified,
+ Damaged_false,
subX, subY,
nullptr);
}