diff options
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()) { |