mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-02 04:13:26 +00:00
(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:
parent
a47b4631ea
commit
e90cf8509a
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user