diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-04-09 15:48:51 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-06-02 16:41:35 +0200 |
commit | c2eab288ecc7d7c5e26d02ccecf285cbc0c218ed (patch) | |
tree | 37b755bc559a40209291e5ed4961de36fc7788dd /src/game.cpp | |
parent | c5390a30868f7eb3b5337963dba20911ea7dc6ea (diff) | |
download | mana-c2eab288ecc7d7c5e26d02ccecf285cbc0c218ed.tar.gz mana-c2eab288ecc7d7c5e26d02ccecf285cbc0c218ed.tar.bz2 mana-c2eab288ecc7d7c5e26d02ccecf285cbc0c218ed.tar.xz mana-c2eab288ecc7d7c5e26d02ccecf285cbc0c218ed.zip |
Some work on the manaserv equipment backend
Currently the same equipment window is used as for tmwAthena so that at
least something is visible. This means the location of equipped items is
currently illogical.
It is now possible to equip and unequip items.
Mantis-issue: 164
Reviewed-by: Stefan Dombrowski
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/game.cpp b/src/game.cpp index ef930d92..6fda630e 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -156,13 +156,11 @@ static void createGuiWindows() tradeWindow = new TradeWindow; switch (Net::getNetworkType()) { - case ServerInfo::TMWATHENA: - equipmentWindow = new TmwAthena::TaEquipmentWindow( - PlayerInfo::getEquipment()); - break; - case ServerInfo::MANASERV: - default: - equipmentWindow = new EquipmentWindow(PlayerInfo::getEquipment()); + case ServerInfo::TMWATHENA: + case ServerInfo::MANASERV: + default: + equipmentWindow = + new TmwAthena::TaEquipmentWindow(PlayerInfo::getEquipment()); break; } statusWindow = new StatusWindow; |