From 4a337b7a42d0c92bc2ed26b7e206188dc04c569d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 11 Feb 2015 12:16:03 +0300 Subject: Add typed bool type Equipm. --- src/gui/windows/outfitwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/windows/outfitwindow.cpp') diff --git a/src/gui/windows/outfitwindow.cpp b/src/gui/windows/outfitwindow.cpp index 3393a1337..d73f86a05 100644 --- a/src/gui/windows/outfitwindow.cpp +++ b/src/gui/windows/outfitwindow.cpp @@ -283,7 +283,7 @@ void OutfitWindow::wearOutfit(const int outfit, const bool unwearEmpty, mItems[outfit][i], mItemColors[outfit][i]); if (item && !item->isEquipped() && item->getQuantity()) { - if (item->isEquipment()) + if (item->isEquipment() == Equipm_true) { PlayerInfo::equipItem(item, false); isEmpty = false; -- cgit v1.2.3-70-g09d2