OpenJK
OpenJK copied to clipboard
[MP] seed RNG in modules
This should fix unwanted side-effects introduced by 2bcf85c.
Each module has its own copy of the initial RNG seed (holdrand
), but only the engine's copy was being updated on init.
There were many effects of this, notably the "random" spawns on a map_restart
were actually consistent, since the game module gets reloaded.