summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-04-12 02:46:54 +0300
committerAndrei Karas <akaras@inbox.ru>2011-04-12 02:46:54 +0300
commit37f8e4429b9620e6734fa5f1c9a760181dc35001 (patch)
treec5562f94fd8f890a3427b6f3e14b138819999e8a /src/net/tmwa
parent474a96f27843a544b0a340c7a3b24d262490d5c8 (diff)
downloadManaVerse-37f8e4429b9620e6734fa5f1c9a760181dc35001.tar.gz
ManaVerse-37f8e4429b9620e6734fa5f1c9a760181dc35001.tar.bz2
ManaVerse-37f8e4429b9620e6734fa5f1c9a760181dc35001.tar.xz
ManaVerse-37f8e4429b9620e6734fa5f1c9a760181dc35001.zip
Updating equip/unequip buttons in inventory.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/inventoryhandler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/tmwa/inventoryhandler.h b/src/net/tmwa/inventoryhandler.h
index 8dd39a781..c91fb01f7 100644
--- a/src/net/tmwa/inventoryhandler.h
+++ b/src/net/tmwa/inventoryhandler.h
@@ -94,6 +94,9 @@ class EquipBackend : public Equipment::Backend
item = PlayerInfo::getInventory()->getItem(inventoryIndex);
if (item)
item->setEquipped(true);
+
+ if (inventoryWindow)
+ inventoryWindow->updateButtons();
}
private: