diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-18 23:07:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-18 23:07:40 +0300 |
commit | dc6568962a32ddb6f231c629e7ad3373e9086b6c (patch) | |
tree | 744e9f2507c6113e1ba941a11b16e4923aa00858 /src/gui/inventorywindow.cpp | |
parent | 6419386c4c382753509425826ee609dd07d4ae72 (diff) | |
download | manaverse-dc6568962a32ddb6f231c629e7ad3373e9086b6c.tar.gz manaverse-dc6568962a32ddb6f231c629e7ad3373e9086b6c.tar.bz2 manaverse-dc6568962a32ddb6f231c629e7ad3373e9086b6c.tar.xz manaverse-dc6568962a32ddb6f231c629e7ad3373e9086b6c.zip |
remove useless conditions.
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r-- | src/gui/inventorywindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp index e497f5782..a1c4287c8 100644 --- a/src/gui/inventorywindow.cpp +++ b/src/gui/inventorywindow.cpp @@ -661,7 +661,7 @@ void InventoryWindow::updateButtons(const Item *item) if (mUseButton) { - if (item && item->isEquipment()) + if (item->isEquipment()) { if (item->isEquipped()) { |