Added static RNGseed control

This commit is contained in:
Edward Richardson 2014-05-03 02:11:16 +12:00
commit d6af8dc352
4 changed files with 53 additions and 2 deletions

View file

@ -408,7 +408,11 @@ void G_InitNew (const char *mapname, bool bTitleLevel)
if (!savegamerestore)
{
if (!netgame)
if (use_staticrng)
{
rngseed = staticrngseed;
}
else if (!netgame)
{ // [RH] Change the random seed for each new single player game
rngseed = rngseed + 1;
}