forked from mirror/OpenTTD
(svn r1430) -Fix: starting openttd with -g <invalid_name> now acts normal
This commit is contained in:
1
ttd.c
1
ttd.c
@@ -946,6 +946,7 @@ normal_load:
|
|||||||
|
|
||||||
_error_message = INVALID_STRING_ID;
|
_error_message = INVALID_STRING_ID;
|
||||||
if (!SafeSaveOrLoad(_file_to_saveload.name, _file_to_saveload.mode, GM_NORMAL)) {
|
if (!SafeSaveOrLoad(_file_to_saveload.name, _file_to_saveload.mode, GM_NORMAL)) {
|
||||||
|
LoadIntroGame();
|
||||||
ShowErrorMessage(_error_message, STR_4009_GAME_LOAD_FAILED, 0, 0);
|
ShowErrorMessage(_error_message, STR_4009_GAME_LOAD_FAILED, 0, 0);
|
||||||
} else {
|
} else {
|
||||||
_opt_mod_ptr = &_opt;
|
_opt_mod_ptr = &_opt;
|
||||||
|
Reference in New Issue
Block a user