summaryrefslogtreecommitdiff
path: root/network_client.c
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2005-03-12 21:21:47 +0000
committerDarkvater <Darkvater@openttd.org>2005-03-12 21:21:47 +0000
commitef1325cd3688fd64b9e0efd18db22aa5445ef9a6 (patch)
tree3e154dae321b4ae4880a4ae3ad91616338e7b720 /network_client.c
parent9ef5a76b3ef6af43127b6a6d96f108accd490f41 (diff)
downloadopenttd-ef1325cd3688fd64b9e0efd18db22aa5445ef9a6.tar.xz
(svn r2004) - Fix: [ 1149487 ] Autosave ignoring settings
- Fix: [ 1153926 ] All my settings in vain... IGNORED! - Change: I hope I got it all right. Pressing 'New Game' (either choosing random or a preset scenario) and 'Create Scenario' will start a new game with the settings and difficulty in the intro menu. Using 'Load Game' and 'Play Scenario' will take the values from the savegame/scenario itself.
Diffstat (limited to 'network_client.c')
-rw-r--r--network_client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/network_client.c b/network_client.c
index d2aa72e72..abc8cb4b7 100644
--- a/network_client.c
+++ b/network_client.c
@@ -516,7 +516,8 @@ DEF_CLIENT_RECEIVE_COMMAND(PACKET_SERVER_MAP)
_switch_mode_errorstr = STR_NETWORK_ERR_SAVEGAMEERROR;
return NETWORK_RECV_STATUS_SAVEGAME;
}
- _opt_mod_ptr = &_opt;
+
+ _opt_ptr = &_opt; // during a network game you are always in-game
// Say we received the map and loaded it correctly!
SEND_COMMAND(PACKET_CLIENT_MAP_OK)();