(svn r137) Fix: console sometime didn't open (sign_de)
This commit is contained in:
13
ttd.c
13
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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user