summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-06 22:03:35 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-06 22:03:35 +0300
commitc371ce29dd114121fe0071e59460a9f197da70f5 (patch)
tree532951d6b2b22ea719e3f054d659a706e46fec34
parente26b64efb9c6b79bbd5d9426af6887e83651e466 (diff)
downloadManaVerse-c371ce29dd114121fe0071e59460a9f197da70f5.tar.gz
ManaVerse-c371ce29dd114121fe0071e59460a9f197da70f5.tar.bz2
ManaVerse-c371ce29dd114121fe0071e59460a9f197da70f5.tar.xz
ManaVerse-c371ce29dd114121fe0071e59460a9f197da70f5.zip
Initialize gui windows pointers by NULL value.
-rw-r--r--src/game.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/game.cpp b/src/game.cpp
index d0cbbdb40..47fcf30c9 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -118,28 +118,28 @@ OkDialog *deathNotice = NULL;
QuitDialog *quitDialog = NULL;
OkDialog *disconnectedDialog = NULL;
-ChatWindow *chatWindow;
-StatusWindow *statusWindow;
-MiniStatusWindow *miniStatusWindow;
-InventoryWindow *inventoryWindow;
-ShopWindow *shopWindow;
-SkillDialog *skillDialog;
-Minimap *minimap;
-EquipmentWindow *equipmentWindow;
-TradeWindow *tradeWindow;
-HelpWindow *helpWindow;
-DebugWindow *debugWindow;
-ShortcutWindow *itemShortcutWindow;
-ShortcutWindow *emoteShortcutWindow;
-OutfitWindow *outfitWindow;
-SpecialsWindow *specialsWindow;
-ShortcutWindow *dropShortcutWindow;
-ShortcutWindow *spellShortcutWindow;
-WhoIsOnline *whoIsOnline;
-KillStats *killStats;
-BotCheckerWindow *botCheckerWindow;
-SocialWindow *socialWindow;
-WindowMenu *windowMenu;
+ChatWindow *chatWindow = NULL;
+StatusWindow *statusWindow = NULL;
+MiniStatusWindow *miniStatusWindow = NULL;
+InventoryWindow *inventoryWindow = NULL;
+ShopWindow *shopWindow = NULL;
+SkillDialog *skillDialog = NULL;
+Minimap *minimap = NULL;
+EquipmentWindow *equipmentWindow = NULL;
+TradeWindow *tradeWindow = NULL;
+HelpWindow *helpWindow = NULL;
+DebugWindow *debugWindow = NULL;
+ShortcutWindow *itemShortcutWindow = NULL;
+ShortcutWindow *emoteShortcutWindow = NULL;
+OutfitWindow *outfitWindow = NULL;
+SpecialsWindow *specialsWindow = NULL;
+ShortcutWindow *dropShortcutWindow = NULL;
+ShortcutWindow *spellShortcutWindow = NULL;
+WhoIsOnline *whoIsOnline = NULL;
+KillStats *killStats = NULL;
+BotCheckerWindow *botCheckerWindow = NULL;
+SocialWindow *socialWindow = NULL;
+WindowMenu *windowMenu = NULL;
ActorSpriteManager *actorSpriteManager = NULL;
ChannelManager *channelManager = NULL;