diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/intro_gui.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/intro_gui.cpp b/src/intro_gui.cpp index 986cd95d4..f2457eca3 100644 --- a/src/intro_gui.cpp +++ b/src/intro_gui.cpp @@ -20,6 +20,7 @@ #include "functions.h" #include "newgrf_config.h" #include "ai/ai_gui.hpp" +#include "gfx_func.h" #include "table/strings.h" #include "table/sprites.h" @@ -106,7 +107,14 @@ public: #endif /* ENABLE_NETWORK */ switch (widget) { - case SGI_GENERATE_GAME: ShowGenerateLandscape(); break; + case SGI_GENERATE_GAME: + if (_ctrl_pressed) { + StartNewGameWithoutGUI(GENERATE_NEW_SEED); + } else { + ShowGenerateLandscape(); + } + break; + case SGI_LOAD_GAME: ShowSaveLoadDialog(SLD_LOAD_GAME); break; case SGI_PLAY_SCENARIO: ShowSaveLoadDialog(SLD_LOAD_SCENARIO); break; case SGI_PLAY_HEIGHTMAP: ShowSaveLoadDialog(SLD_LOAD_HEIGHTMAP); break; |