From 82939f20372a8c7eccc84db8e25f5d40543b9443 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 12 Feb 2020 18:44:04 +0100 Subject: [PATCH] - 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. --- source/blood/src/actor.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/blood/src/actor.cpp b/source/blood/src/actor.cpp index 8aa61c2fd..1382db90a 100644 --- a/source/blood/src/actor.cpp +++ b/source/blood/src/actor.cpp @@ -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)