mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-01 00:21:43 +00:00
Merge pull request #486 from Edward850/savePRNG-fix
Fixed load order for saves
This commit is contained in:
commit
ed0b740d8d
1 changed files with 3 additions and 3 deletions
|
@ -1930,9 +1930,6 @@ void G_DoLoadGame ()
|
||||||
}
|
}
|
||||||
|
|
||||||
G_ReadSnapshots (png);
|
G_ReadSnapshots (png);
|
||||||
STAT_Read(png);
|
|
||||||
FRandom::StaticReadRNGState (png);
|
|
||||||
P_ReadACSDefereds (png);
|
|
||||||
|
|
||||||
// load a base level
|
// load a base level
|
||||||
savegamerestore = true; // Use the player actors in the savegame
|
savegamerestore = true; // Use the player actors in the savegame
|
||||||
|
@ -1942,6 +1939,9 @@ void G_DoLoadGame ()
|
||||||
delete[] map;
|
delete[] map;
|
||||||
savegamerestore = false;
|
savegamerestore = false;
|
||||||
|
|
||||||
|
STAT_Read(png);
|
||||||
|
FRandom::StaticReadRNGState(png);
|
||||||
|
P_ReadACSDefereds(png);
|
||||||
P_ReadACSVars(png);
|
P_ReadACSVars(png);
|
||||||
|
|
||||||
NextSkill = -1;
|
NextSkill = -1;
|
||||||
|
|
Loading…
Reference in a new issue