diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-11 12:16:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-11 12:16:03 +0300 |
commit | 4a337b7a42d0c92bc2ed26b7e206188dc04c569d (patch) | |
tree | 97c59c86246afce0710795c6ba545d40004c6810 /src/gui/windows/npcdialog.cpp | |
parent | 067410031057ffc9bdb36b976bc2a658b23acb1b (diff) | |
download | plus-4a337b7a42d0c92bc2ed26b7e206188dc04c569d.tar.gz plus-4a337b7a42d0c92bc2ed26b7e206188dc04c569d.tar.bz2 plus-4a337b7a42d0c92bc2ed26b7e206188dc04c569d.tar.xz plus-4a337b7a42d0c92bc2ed26b7e206188dc04c569d.zip |
Add typed bool type Equipm.
Diffstat (limited to 'src/gui/windows/npcdialog.cpp')
-rw-r--r-- | src/gui/windows/npcdialog.cpp | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp index fa5cb21d7..9c93b7474 100644 --- a/src/gui/windows/npcdialog.cpp +++ b/src/gui/windows/npcdialog.cpp @@ -470,11 +470,16 @@ void NpcDialog::action(const ActionEvent &event) const Item *const item = inventoryWindow->getSelectedItem(); if (item) { - mInventory->addItem(item->getId(), item->getType(), - 1, 1, item->getColor(), - item->getIdentified(), item->getDamaged(), + mInventory->addItem(item->getId(), + item->getType(), + 1, + 1, + item->getColor(), + item->getIdentified(), + item->getDamaged(), item->getFavorite(), - false, false); + Equipm_false, + false); } } } |