From 83601671c7b6aca820b3d55ced8ba30d0c82b4b5 Mon Sep 17 00:00:00 2001 From: skidd13 Date: Wed, 21 Nov 2007 19:13:38 +0000 Subject: (svn r11488) -Codechange: Spilt the random functions out to seperate file -Codechange: Make the mersenne twister more readable -Codechange: Unify the seeding process of random --- src/os2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/os2.cpp') diff --git a/src/os2.cpp b/src/os2.cpp index 7f2626587..7ffccf09a 100644 --- a/src/os2.cpp +++ b/src/os2.cpp @@ -163,7 +163,7 @@ void ShowOSErrorBox(const char *buf) int CDECL main(int argc, char* argv[]) { - _random_seeds[1][1] = _random_seeds[1][0] = _random_seeds[0][1] = _random_seeds[0][0] = time(NULL); + SetRandomSeed(time(NULL)); return ttd_main(argc, argv); } -- cgit v1.2.3-54-g00ecf