From 07a9b9009f7b05fc39540430fa6639b493ed9829 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 24 Aug 2015 01:39:45 +0300 Subject: Add damaged attribute to floor items. --- src/net/eathena/itemhandler.cpp | 4 ++++ src/net/tmwa/itemhandler.cpp | 2 ++ 2 files changed, 6 insertions(+) (limited to 'src/net') 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]); } 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); } -- cgit v1.2.3-70-g09d2