projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
224535b
)
moved initializing random numbers before creating UUIDs
author
Holger Schemel
<info@artsoft.org>
Sat, 7 Aug 2021 22:24:11 +0000
(
00:24
+0200)
committer
Holger Schemel
<info@artsoft.org>
Sun, 8 Aug 2021 22:54:46 +0000
(
00:54
+0200)
src/init.c
patch
|
blob
|
history
diff --git
a/src/init.c
b/src/init.c
index 0dc8ea0ddfb9a47b717c9cd35f03a368958a4915..3f8c253b14c014b904424b6ba23351ddbcb03482 100644
(file)
--- 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]");