From e86f83ed987461adabcbc02508107366b8c65558 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Thu, 18 Aug 2011 02:43:38 +0200 Subject: 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. --- src/game.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/game.cpp') 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; -- cgit v1.2.3-70-g09d2