diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-09-08 21:39:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-09-08 21:39:21 +0300 |
commit | f39df8b1de96c6d6e78d90f2f058318aa7fd998b (patch) | |
tree | 1d3a5ba6fa16584f2a3cdb64cc18f720f20e8f09 /src/gui/windows/buyingstoreselldialog.cpp | |
parent | 00cc703c86c6c0118cb2c1d976886710aa61d91d (diff) | |
download | manaverse-f39df8b1de96c6d6e78d90f2f058318aa7fd998b.tar.gz manaverse-f39df8b1de96c6d6e78d90f2f058318aa7fd998b.tar.bz2 manaverse-f39df8b1de96c6d6e78d90f2f058318aa7fd998b.tar.xz manaverse-f39df8b1de96c6d6e78d90f2f058318aa7fd998b.zip |
Add some missing item colors.
Diffstat (limited to 'src/gui/windows/buyingstoreselldialog.cpp')
-rw-r--r-- | src/gui/windows/buyingstoreselldialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/buyingstoreselldialog.cpp b/src/gui/windows/buyingstoreselldialog.cpp index 637bdc5bd..9de82994d 100644 --- a/src/gui/windows/buyingstoreselldialog.cpp +++ b/src/gui/windows/buyingstoreselldialog.cpp @@ -56,9 +56,9 @@ void BuyingStoreSellDialog::sellAction(const ActionEvent &event A_UNUSED) Being *const being = actorManager->findBeing(mAccountId); if (!being) return; - // +++ need add colors Item *const item2 = PlayerInfo::getInventory()->findItem( - item1->getId(), ItemColor_one); + item1->getId(), + item1->getColor()); if (!item2) return; |