(svn r1889) -Fix: [ 1108637 ] 'Play scenario' now loads game options and difficulty, 'Load game' starts game with user-selected values.

This commit is contained in:
celestar
2005-02-18 22:17:33 +00:00
parent 6b736738ba
commit 5e86b2ff9b
2 changed files with 26 additions and 5 deletions

2
ttd.c
View File

@@ -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;