summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-18 23:07:40 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-18 23:07:40 +0300
commitdc6568962a32ddb6f231c629e7ad3373e9086b6c (patch)
tree744e9f2507c6113e1ba941a11b16e4923aa00858 /src/gui/inventorywindow.cpp
parent6419386c4c382753509425826ee609dd07d4ae72 (diff)
downloadmanaplus-dc6568962a32ddb6f231c629e7ad3373e9086b6c.tar.gz
manaplus-dc6568962a32ddb6f231c629e7ad3373e9086b6c.tar.bz2
manaplus-dc6568962a32ddb6f231c629e7ad3373e9086b6c.tar.xz
manaplus-dc6568962a32ddb6f231c629e7ad3373e9086b6c.zip
remove useless conditions.
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r--src/gui/inventorywindow.cpp2
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())
{