diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-28 23:29:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-28 23:29:59 +0300 |
commit | cfbb335f67a350cf23adb62ee536330312185f58 (patch) | |
tree | 211ff744893883ff6dd93bd49138fc97a47673cc /src/gui/windows/inventorywindow.cpp | |
parent | b2e94802333247f64369c1164215d26583abda20 (diff) | |
download | manaplus-cfbb335f67a350cf23adb62ee536330312185f58.tar.gz manaplus-cfbb335f67a350cf23adb62ee536330312185f58.tar.bz2 manaplus-cfbb335f67a350cf23adb62ee536330312185f58.tar.xz manaplus-cfbb335f67a350cf23adb62ee536330312185f58.zip |
Remove some ueseless checks.
Diffstat (limited to 'src/gui/windows/inventorywindow.cpp')
-rw-r--r-- | src/gui/windows/inventorywindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp index a57565d7f..d4f27fd74 100644 --- a/src/gui/windows/inventorywindow.cpp +++ b/src/gui/windows/inventorywindow.cpp @@ -327,7 +327,7 @@ InventoryWindow::InventoryWindow(Inventory *const inventory) : invInstances.push_back(this); - if (inventory && inventory->isMainInventory()) + if (inventory->isMainInventory()) { updateDropButton(); } |