diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-21 12:30:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-21 12:30:17 +0300 |
commit | 40a60a7bb7fd3291fde0a2a689f674a8169c7b64 (patch) | |
tree | 9410a23feea6c6248612afdc8968a1c04306e5b0 /src/gui/widgets | |
parent | 76e55447563fae6f8d17f2fd90231c81e0b3f927 (diff) | |
download | manaplus-40a60a7bb7fd3291fde0a2a689f674a8169c7b64.tar.gz manaplus-40a60a7bb7fd3291fde0a2a689f674a8169c7b64.tar.bz2 manaplus-40a60a7bb7fd3291fde0a2a689f674a8169c7b64.tar.xz manaplus-40a60a7bb7fd3291fde0a2a689f674a8169c7b64.zip |
Add to item field damaged.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/itemcontainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp index 8f8f886da..87c599fb6 100644 --- a/src/gui/widgets/itemcontainer.cpp +++ b/src/gui/widgets/itemcontainer.cpp @@ -553,7 +553,7 @@ void ItemContainer::mouseReleased(MouseEvent &event) if (item && !PlayerInfo::isItemProtected(item->getId())) { mInventory->addItem(item->getId(), 1, 1, item->getColor(), - item->getIdentified(), false, false); + item->getIdentified(), item->getDamaged(), false, false); } return; } |