From: Holger Schemel Date: Sat, 7 Aug 2021 22:24:11 +0000 (+0200) Subject: moved initializing random numbers before creating UUIDs X-Git-Tag: 4.3.0.0~98 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=498b10acf9223cfb6505c574dc12c890d1950a21;p=rocksndiamonds.git moved initializing random numbers before creating UUIDs --- diff --git a/src/init.c b/src/init.c index 0dc8ea0d..3f8c253b 100644 --- a/src/init.c +++ b/src/init.c @@ -6196,6 +6196,9 @@ void OpenAll(void) InitGlobal(); // initialize some global variables + InitRND(NEW_RANDOMIZE); + InitSimpleRandom(NEW_RANDOMIZE); + print_timestamp_time("[init global stuff]"); InitSetup(); @@ -6231,9 +6234,6 @@ void OpenAll(void) InitMixer(); print_timestamp_time("[init setup/config stuff (6)]"); - InitRND(NEW_RANDOMIZE); - InitSimpleRandom(NEW_RANDOMIZE); - InitJoysticks(); print_timestamp_time("[init setup/config stuff]");