mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- do not reinitialize all actors in Blood when loading a savegame.
The call to actInit has been replaced with only performing the one necessary thing that needs to be done here - setting the enemy default difficulty.
This commit is contained in:
parent
1f7877823b
commit
82939f2037
1 changed files with 5 additions and 1 deletions
|
@ -6931,7 +6931,11 @@ void ActorLoadSave::Load(void)
|
|||
Read(gAffectedXWalls, sizeof(gAffectedXWalls));
|
||||
Read(&gPostCount, sizeof(gPostCount));
|
||||
Read(gPost, sizeof(gPost));
|
||||
actInit(true);
|
||||
if (gGameOptions.nMonsterSettings != 0) {
|
||||
for (int i = 0; i < kDudeMax - kDudeBase; i++)
|
||||
for (int j = 0; j < 7; j++)
|
||||
dudeInfo[i].at70[j] = mulscale8(DudeDifficulty[gGameOptions.nDifficulty], dudeInfo[i].startDamage[j]);
|
||||
}
|
||||
}
|
||||
|
||||
void ActorLoadSave::Save(void)
|
||||
|
|
Loading…
Reference in a new issue