summaryrefslogtreecommitdiff
path: root/src/game.cpp
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/game.cpp
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/game.cpp')
-rw-r--r--src/game.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/game.cpp b/src/game.cpp
index af9c2c39..5fb98e6c 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -154,15 +154,7 @@ static void createGuiWindows()
minimap = new Minimap;
chatWindow = new ChatWindow;
tradeWindow = new TradeWindow;
- switch (Net::getNetworkType())
- {
- case ServerInfo::TMWATHENA:
- case ServerInfo::MANASERV:
- default:
- equipmentWindow =
- new TmwAthena::TaEquipmentWindow(PlayerInfo::getEquipment());
- break;
- }
+ equipmentWindow = new EquipmentWindow(PlayerInfo::getEquipment());
statusWindow = new StatusWindow;
inventoryWindow = new InventoryWindow(PlayerInfo::getInventory());
skillDialog = new SkillDialog;