summaryrefslogtreecommitdiff
path: root/src/net/manaserv
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-08-18 02:43:38 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-08-18 02:43:38 +0200
commite86f83ed987461adabcbc02508107366b8c65558 (patch)
treed78016f0512788a21cc321d6d1f6d7947105fbae /src/net/manaserv
parentf8551d9ef4a745327bccb9e4cb54a22f6a28cf80 (diff)
downloadmana-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/manaserv')
-rw-r--r--src/net/manaserv/inventoryhandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/manaserv/inventoryhandler.cpp b/src/net/manaserv/inventoryhandler.cpp
index 021d7696..a5875e08 100644
--- a/src/net/manaserv/inventoryhandler.cpp
+++ b/src/net/manaserv/inventoryhandler.cpp
@@ -308,6 +308,9 @@ void InventoryHandler::handleMessage(Net::MessageIn &msg)
it->second.mAmountUsed,
it->first);
}
+ // The backend is ready, we can setup the equipment window.
+ if (equipmentWindow)
+ equipmentWindow->loadEquipBoxes();
}
break;