diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-10 12:23:50 -0600 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-03-15 13:21:03 -0600 |
commit | d6f89802e5aa32f266e881e43d6005e821040c57 (patch) | |
tree | 8279ca50117fced2dc26f7e6d4bdd7d5694af255 /src/game.cpp | |
parent | 4b459b50521f5d7a0518e229a20f14ed2f1d22f9 (diff) | |
download | mana-d6f89802e5aa32f266e881e43d6005e821040c57.tar.gz mana-d6f89802e5aa32f266e881e43d6005e821040c57.tar.bz2 mana-d6f89802e5aa32f266e881e43d6005e821040c57.tar.xz mana-d6f89802e5aa32f266e881e43d6005e821040c57.zip |
Fix some mem leaks
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index 47f4ffd2..a346616f 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -204,7 +204,6 @@ void createGuiWindows(Network *network) npcListDialog = new NpcListDialog(network); npcStringDialog = new NpcStringDialog(network); skillDialog = new SkillDialog(); - setupWindow = new Setup(); minimap = new Minimap(); equipmentWindow = new EquipmentWindow(); tradeWindow = new TradeWindow(network); @@ -337,6 +336,8 @@ Game::Game(Network *network): msg.writeInt32(tick_time); engine->changeMap(map_path); + + setupWindow->setInGame(true); } Game::~Game() |