summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-01-08 15:26:58 +0000
committertruelight <truelight@openttd.org>2005-01-08 15:26:58 +0000
commitd4d4a4643671862513cf4767c736d223bbc8a3a6 (patch)
tree8f50e2d145e45c9b32466f568a5eccb676651c96
parent788f543bc3a778895a10480d4b9e65e3a488e41f (diff)
downloadopenttd-d4d4a4643671862513cf4767c736d223bbc8a3a6.tar.xz
(svn r1430) -Fix: starting openttd with -g <invalid_name> now acts normal
-rw-r--r--ttd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ttd.c b/ttd.c
index 39b9a4f42..1a26dbfb3 100644
--- a/ttd.c
+++ b/ttd.c
@@ -946,6 +946,7 @@ normal_load:
_error_message = INVALID_STRING_ID;
if (!SafeSaveOrLoad(_file_to_saveload.name, _file_to_saveload.mode, GM_NORMAL)) {
+ LoadIntroGame();
ShowErrorMessage(_error_message, STR_4009_GAME_LOAD_FAILED, 0, 0);
} else {
_opt_mod_ptr = &_opt;