forked from mirror/OpenTTD
(svn r12202) -Fix: When loading a savegame fails, don't start creating a new game, just go straight back to the intro screen.
This commit is contained in:
@@ -816,9 +816,9 @@ bool SafeSaveOrLoad(const char *filename, int mode, int newgm, Subdirectory subd
|
|||||||
|
|
||||||
case SL_REINIT:
|
case SL_REINIT:
|
||||||
switch (ogm) {
|
switch (ogm) {
|
||||||
|
default:
|
||||||
case GM_MENU: LoadIntroGame(); break;
|
case GM_MENU: LoadIntroGame(); break;
|
||||||
case GM_EDITOR: MakeNewEditorWorld(); break;
|
case GM_EDITOR: MakeNewEditorWorld(); break;
|
||||||
default: MakeNewGame(false); break;
|
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user