From f39df8b1de96c6d6e78d90f2f058318aa7fd998b Mon Sep 17 00:00:00 2001 From: Andrei Karas <akaras@inbox.ru> Date: Tue, 8 Sep 2015 21:39:21 +0300 Subject: Add some missing item colors. --- src/gui/windows/buyingstoreselldialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/windows/buyingstoreselldialog.cpp') 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; -- cgit v1.2.3-70-g09d2