summaryrefslogtreecommitdiff
path: root/src/gui/windows/npcdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-21 12:30:17 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-21 12:30:17 +0300
commit40a60a7bb7fd3291fde0a2a689f674a8169c7b64 (patch)
tree9410a23feea6c6248612afdc8968a1c04306e5b0 /src/gui/windows/npcdialog.cpp
parent76e55447563fae6f8d17f2fd90231c81e0b3f927 (diff)
downloadplus-40a60a7bb7fd3291fde0a2a689f674a8169c7b64.tar.gz
plus-40a60a7bb7fd3291fde0a2a689f674a8169c7b64.tar.bz2
plus-40a60a7bb7fd3291fde0a2a689f674a8169c7b64.tar.xz
plus-40a60a7bb7fd3291fde0a2a689f674a8169c7b64.zip
Add to item field damaged.
Diffstat (limited to 'src/gui/windows/npcdialog.cpp')
-rw-r--r--src/gui/windows/npcdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp
index ff434c07c..5360489cb 100644
--- a/src/gui/windows/npcdialog.cpp
+++ b/src/gui/windows/npcdialog.cpp
@@ -468,7 +468,7 @@ void NpcDialog::action(const ActionEvent &event)
if (item)
{
mInventory->addItem(item->getId(), 1, 1, item->getColor(),
- item->getIdentified(), false, false);
+ item->getIdentified(), item->getDamaged(), false, false);
}
}
}