mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-04-11 20:51:37 +00:00
Seed the game PRNG at startup
This commit is contained in:
parent
d70f510391
commit
ae99562741
1 changed files with 3 additions and 0 deletions
|
@ -139,6 +139,9 @@ GetGameAPI(game_import_t *import)
|
|||
|
||||
globals.edict_size = sizeof(edict_t);
|
||||
|
||||
/* Initalize the PRNG */
|
||||
randk_seed();
|
||||
|
||||
return &globals;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue