diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-08-18 02:43:38 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-08-18 02:43:38 +0200 |
commit | e86f83ed987461adabcbc02508107366b8c65558 (patch) | |
tree | d78016f0512788a21cc321d6d1f6d7947105fbae /src/net/tmwa | |
parent | f8551d9ef4a745327bccb9e4cb54a22f6a28cf80 (diff) | |
download | mana-e86f83ed987461adabcbc02508107366b8c65558.tar.gz mana-e86f83ed987461adabcbc02508107366b8c65558.tar.bz2 mana-e86f83ed987461adabcbc02508107366b8c65558.tar.xz mana-e86f83ed987461adabcbc02508107366b8c65558.zip |
Made the equipment window not use server specific code again.
I also made the number of slots displayed
taken from the equip.xml file for manaserv.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/inventoryhandler.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/tmwa/inventoryhandler.cpp b/src/net/tmwa/inventoryhandler.cpp index ff875e69..76eb85f5 100644 --- a/src/net/tmwa/inventoryhandler.cpp +++ b/src/net/tmwa/inventoryhandler.cpp @@ -31,6 +31,7 @@ #include "localplayer.h" #include "log.h" +#include "gui/equipmentwindow.h" #include "gui/widgets/chattab.h" #include "net/messagein.h" @@ -388,6 +389,10 @@ void InventoryHandler::handleMessage(Net::MessageIn &msg) { mEquips.setEquipment(getSlot(equipType), index); } + + // Load the equipment boxes + if (equipmentWindow) + equipmentWindow->loadEquipBoxes(); } break; |