- 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:
Christoph Oelckers 2020-02-12 18:44:04 +01:00
parent 1f7877823b
commit 82939f2037

View file

@ -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)