From 37f8e4429b9620e6734fa5f1c9a760181dc35001 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 12 Apr 2011 02:46:54 +0300 Subject: Updating equip/unequip buttons in inventory. --- src/net/tmwa/inventoryhandler.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/net/tmwa') 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: -- cgit v1.2.3-70-g09d2