summaryrefslogtreecommitdiff
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
commitab1fa8b8fcc5042a7636abd57f05aed6a5123c1b (patch)
tree763f9f30fadd9d40083ca522a38a32363766abc8
parente5709f3ad8e93f03fdf4b3011ae06a0791c3813a (diff)
downloadopenttd-ab1fa8b8fcc5042a7636abd57f05aed6a5123c1b.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.
-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;