diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-05-06 22:03:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-05-06 22:03:35 +0300 |
commit | c371ce29dd114121fe0071e59460a9f197da70f5 (patch) | |
tree | 532951d6b2b22ea719e3f054d659a706e46fec34 | |
parent | e26b64efb9c6b79bbd5d9426af6887e83651e466 (diff) | |
download | manaplus-c371ce29dd114121fe0071e59460a9f197da70f5.tar.gz manaplus-c371ce29dd114121fe0071e59460a9f197da70f5.tar.bz2 manaplus-c371ce29dd114121fe0071e59460a9f197da70f5.tar.xz manaplus-c371ce29dd114121fe0071e59460a9f197da70f5.zip |
Initialize gui windows pointers by NULL value.
-rw-r--r-- | src/game.cpp | 44 |
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; |