summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 92005dba..4da19bf8 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -155,7 +155,17 @@ static void createGuiWindows()
minimap = new Minimap;
chatWindow = new ChatWindow;
tradeWindow = new TradeWindow;
- equipmentWindow = new EquipmentWindow(PlayerInfo::getEquipment());
+ switch (Net::getNetworkType())
+ {
+ case ServerInfo::TMWATHENA:
+ equipmentWindow = new TmwAthena::TaEquipmentWindow(
+ PlayerInfo::getEquipment());
+ break;
+ case ServerInfo::MANASERV:
+ default:
+ equipmentWindow = new EquipmentWindow(PlayerInfo::getEquipment());
+ break;
+ }
statusWindow = new StatusWindow;
inventoryWindow = new InventoryWindow(PlayerInfo::getInventory());
skillDialog = new SkillDialog;