diff options
Diffstat (limited to 'src/gui/widgets/itemcontainer.cpp')
-rw-r--r-- | src/gui/widgets/itemcontainer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp index dfb5a94cf..0bb8c50f3 100644 --- a/src/gui/widgets/itemcontainer.cpp +++ b/src/gui/widgets/itemcontainer.cpp @@ -317,13 +317,13 @@ void ItemContainer::draw(Graphics *graphics) { caption = toString(item->getQuantity()); } - else if (item->isEquipped()) + else if (item->isEquipped() == Equipped_true) { // TRANSLATORS: Text under equipped items (should be small) caption = _("Eq."); } - if (item->isEquipped()) + if (item->isEquipped() == Equipped_true) graphics->setColorAll(mEquipedColor, mEquipedColor2); else graphics->setColorAll(mUnEquipedColor, mUnEquipedColor2); @@ -600,7 +600,7 @@ void ItemContainer::mouseReleased(MouseEvent &event) item->getDamaged(), item->getFavorite(), Equipm_false, - false); + Equipped_false); } return; } |