summaryrefslogtreecommitdiff
path: root/intro_gui.c
diff options
context:
space:
mode:
authorsignde <signde@openttd.org>2004-09-11 19:34:11 +0000
committersignde <signde@openttd.org>2004-09-11 19:34:11 +0000
commit1fb915df69aaa77ec8be39bb96650e5ec568e245 (patch)
treea7f24d905e8470f6331b816f08ef922fb43b8532 /intro_gui.c
parentd03afadad23fced4bbb11df12a01f26cdbaf6844 (diff)
downloadopenttd-1fb915df69aaa77ec8be39bb96650e5ec568e245.tar.xz
(svn r207) -Codechange: randomizer handling
-Fix: desync problem fixes -Fix: server doesnt hang anymore when a client timed out -Feature: low latency connection enhancements [*net_sync_freq, *net_ready_ahead]
Diffstat (limited to 'intro_gui.c')
-rw-r--r--intro_gui.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/intro_gui.c b/intro_gui.c
index 00ea3f105..deb42cf37 100644
--- a/intro_gui.c
+++ b/intro_gui.c
@@ -125,8 +125,8 @@ int32 CmdGenRandomNewGame(int x, int y, uint32 flags, uint32 p1, uint32 p2)
// this forces stuff into test mode.
_docommand_recursive = 0;
- _random_seed_1 = p1;
- _random_seed_2 = p2;
+ _random_seeds[0][0] = p1;
+ _random_seeds[0][1] = p2;
if (_networking) { NetworkStartSync(true); }
@@ -166,8 +166,8 @@ int32 CmdStartScenario(int x, int y, uint32 flags, uint32 p1, uint32 p2)
// this forces stuff into test mode.
_docommand_recursive = 0;
- _random_seed_1 = p1;
- _random_seed_2 = p2;
+ _random_seeds[0][0] = p1;
+ _random_seeds[0][1] = p2;
if (_networking) { NetworkStartSync(true); }