Merge pull request #486 from Edward850/savePRNG-fix

Fixed load order for saves
This commit is contained in:
coelckers 2016-01-20 08:57:07 +01:00
commit ed0b740d8d

View file

@ -1930,9 +1930,6 @@ void G_DoLoadGame ()
}
G_ReadSnapshots (png);
STAT_Read(png);
FRandom::StaticReadRNGState (png);
P_ReadACSDefereds (png);
// load a base level
savegamerestore = true; // Use the player actors in the savegame
@ -1942,6 +1939,9 @@ void G_DoLoadGame ()
delete[] map;
savegamerestore = false;
STAT_Read(png);
FRandom::StaticReadRNGState(png);
P_ReadACSDefereds(png);
P_ReadACSVars(png);
NextSkill = -1;