(svn r1430) -Fix: starting openttd with -g <invalid_name> now acts normal

This commit is contained in:
truelight 2005-01-08 15:26:58 +00:00
parent 788f543bc3
commit d4d4a46436
1 changed files with 1 additions and 0 deletions

1
ttd.c
View File

@ -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;