summaryrefslogtreecommitdiff
path: root/unix.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 /unix.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 'unix.c')
-rw-r--r--unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix.c b/unix.c
index 361d7d511..f6feb99ce 100644
--- a/unix.c
+++ b/unix.c
@@ -420,7 +420,7 @@ int CDECL main(int argc, char* argv[])
ChangeWorkingDirectory(argv[0]);
#endif
- _random_seed_2 = _random_seed_1 = time(NULL);
+ _random_seeds[0][1] = _random_seeds[0][0] = time(NULL);
return ttd_main(argc, argv);