summaryrefslogtreecommitdiff
path: root/ttd.c
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-08-25 08:55:53 +0000
committerdominik <dominik@openttd.org>2004-08-25 08:55:53 +0000
commit7701b0a24151de04036cbf7855354a42daed5b11 (patch)
tree8292c16ffe7e31e7276050ef6b0b4e63238b4bd5 /ttd.c
parent5505a10b80e8f17c4a13f8793dfcdaebbe95eb29 (diff)
downloadopenttd-7701b0a24151de04036cbf7855354a42daed5b11.tar.xz
(svn r137) Fix: console sometime didn't open (sign_de)
Diffstat (limited to 'ttd.c')
-rw-r--r--ttd.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/ttd.c b/ttd.c
index f395acea6..5b2faee5f 100644
--- a/ttd.c
+++ b/ttd.c
@@ -642,8 +642,8 @@ void LoadIntroGame()
_opt_mod_ptr = &_new_opt;
GfxLoadSprites();
LoadStringWidthTable();
- // Setup main window
- IConsoleClose();
+
+ // Setup main window
InitWindowSystem();
SetupColorsAndInitialWindow();
@@ -672,8 +672,7 @@ void MakeNewGame()
GfxLoadSprites();
- // Reinitialize windows
- IConsoleClose();
+ // Reinitialize windows
InitWindowSystem();
LoadStringWidthTable();
@@ -700,8 +699,7 @@ void MakeNewEditorWorld()
GfxLoadSprites();
- // Re-init the windowing system
- IConsoleClose();
+ // Re-init the windowing system
InitWindowSystem();
// Create toolbars
@@ -735,8 +733,7 @@ void StartScenario()
GfxLoadSprites();
- // Reinitialize windows
- IConsoleClose();
+ // Reinitialize windows
InitWindowSystem();
LoadStringWidthTable();