summaryrefslogtreecommitdiff
path: root/ttd.c
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2005-02-18 22:17:33 +0000
committercelestar <celestar@openttd.org>2005-02-18 22:17:33 +0000
commitbf5e0c10cea257c3dccc6691f889c5d50d6e4fbf (patch)
treeb78adb4aa33ddb8654b90e61270993f98e5421a0 /ttd.c
parentb973ad1df985dba9949bf105d3f84a42d3aeef66 (diff)
downloadopenttd-bf5e0c10cea257c3dccc6691f889c5d50d6e4fbf.tar.xz
(svn r1889) -Fix: [ 1108637 ] 'Play scenario' now loads game options and difficulty, 'Load game' starts game with user-selected values.
Diffstat (limited to 'ttd.c')
-rw-r--r--ttd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ttd.c b/ttd.c
index 7484626b4..dfb806e3e 100644
--- a/ttd.c
+++ b/ttd.c
@@ -890,7 +890,6 @@ normal_load:
LoadIntroGame();
ShowErrorMessage(_error_message, STR_4009_GAME_LOAD_FAILED, 0, 0);
} else {
- _opt_mod_ptr = &_opt;
_local_player = 0;
DoCommandP(0, 0, 0, NULL, CMD_PAUSE); // decrease pause counter (was increased from opening load dialog)
#ifdef ENABLE_NETWORK
@@ -908,6 +907,7 @@ normal_load:
if (SafeSaveOrLoad(_file_to_saveload.name, _file_to_saveload.mode, GM_EDITOR)) {
_opt_mod_ptr = &_opt;
+ _opt_mod_temp = _opt;
_local_player = OWNER_NONE;
_generating_world = true;