mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-26 16:09:10 +00:00
(svn r6086) -Fix: InteractiveRandom was not seeded properly resulting in the dedicated server always generating the same map. Thanks to the #openttdcoop team for detecting.
This commit is contained in:
3
os2.c
3
os2.c
@@ -125,8 +125,7 @@ int CDECL main(int argc, char* argv[])
|
||||
// change the working directory to enable doubleclicking in UIs
|
||||
ChangeWorkingDirectory(argv[0]);
|
||||
|
||||
_random_seeds[0][1] = _random_seeds[0][0] = time(NULL);
|
||||
|
||||
_random_seeds[1][1] = _random_seeds[1][0] = _random_seeds[0][1] = _random_seeds[0][0] = time(NULL);
|
||||
|
||||
return ttd_main(argc, argv);
|
||||
}
|
||||
|
Reference in New Issue
Block a user