summaryrefslogtreecommitdiff
path: root/openttd.c
diff options
context:
space:
mode:
authorludde <ludde@openttd.org>2005-07-15 20:29:06 +0000
committerludde <ludde@openttd.org>2005-07-15 20:29:06 +0000
commit71f9078bddbf26a771c259bc4cde377b90a980ba (patch)
tree4082dbe36cd4d476e1d16f70a88eaa90adb7523f /openttd.c
parentc964809d374ef9af63a384a1bd7bc01cdc1bbbf5 (diff)
downloadopenttd-71f9078bddbf26a771c259bc4cde377b90a980ba.tar.xz
(svn r2583) Move OS specific code out of misc.c
Added support for Mersenne Twister random number generator (not implemented in network yet) Wrap player randoms around #ifdef
Diffstat (limited to 'openttd.c')
-rw-r--r--openttd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openttd.c b/openttd.c
index 26057a517..3ab0a75cb 100644
--- a/openttd.c
+++ b/openttd.c
@@ -676,7 +676,9 @@ int ttd_main(int argc, char* argv[])
InitializeGUI();
IConsoleCmdExec("exec scripts/autoexec.scr 0");
+#ifdef PLAYER_SEED_RANDOM
InitPlayerRandoms();
+#endif
GenerateWorld(1, 64, 64); // Make the viewport initialization happy