summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-02-20 19:37:02 +0000
committerpeter1138 <peter1138@openttd.org>2008-02-20 19:37:02 +0000
commite90cf8509a1d6d82c8111f51b2ed92711cdc516b (patch)
tree763f9f30fadd9d40083ca522a38a32363766abc8 /src
parenta47b4631ea6375e72e46ed24b985ed486ed4c0f1 (diff)
downloadopenttd-e90cf8509a1d6d82c8111f51b2ed92711cdc516b.tar.xz
(svn r12202) -Fix: When loading a savegame fails, don't start creating a new game, just go straight back to the intro screen.
Diffstat (limited to 'src')
-rw-r--r--src/openttd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index 7f8df22d4..22f7b433e 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -816,9 +816,9 @@ bool SafeSaveOrLoad(const char *filename, int mode, int newgm, Subdirectory subd
case SL_REINIT:
switch (ogm) {
+ default:
case GM_MENU: LoadIntroGame(); break;
case GM_EDITOR: MakeNewEditorWorld(); break;
- default: MakeNewGame(false); break;
}
return false;