diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-24 01:39:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-24 01:39:45 +0300 |
commit | 07a9b9009f7b05fc39540430fa6639b493ed9829 (patch) | |
tree | be4049d169daffd99122ecdc99ab0d0e974f54a5 /src/net/eathena/itemhandler.cpp | |
parent | bedfca1c1cb893c937d317dd658067166e9953e0 (diff) | |
download | manaverse-07a9b9009f7b05fc39540430fa6639b493ed9829.tar.gz manaverse-07a9b9009f7b05fc39540430fa6639b493ed9829.tar.bz2 manaverse-07a9b9009f7b05fc39540430fa6639b493ed9829.tar.xz manaverse-07a9b9009f7b05fc39540430fa6639b493ed9829.zip |
Add damaged attribute to floor items.
Diffstat (limited to 'src/net/eathena/itemhandler.cpp')
-rw-r--r-- | src/net/eathena/itemhandler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/eathena/itemhandler.cpp b/src/net/eathena/itemhandler.cpp index 5ce7a1c6e..f25addbe0 100644 --- a/src/net/eathena/itemhandler.cpp +++ b/src/net/eathena/itemhandler.cpp @@ -113,6 +113,7 @@ void ItemHandler::processItemDropped(Net::MessageIn &msg) 0, ItemColor_one, identified, + Damaged_false, subX, subY, nullptr); } @@ -146,6 +147,7 @@ void ItemHandler::processItemDropped2(Net::MessageIn &msg) refine, ItemColorManager::getColorFromCards(&cards[0]), identified, + damaged, subX, subY, &cards[0]); } @@ -198,6 +200,7 @@ void ItemHandler::processItemVisible(Net::MessageIn &msg) 0, ItemColor_one, identified, + Damaged_false, subX, subY, nullptr); } @@ -231,6 +234,7 @@ void ItemHandler::processItemVisible2(Net::MessageIn &msg) refine, ItemColorManager::getColorFromCards(&cards[0]), identified, + damaged, subX, subY, &cards[0]); } |