[Scummvm-git-logs] scummvm master -> 251d8845561d8e66f75c9fab4f3d2270b687f1d5

AndywinXp noreply at scummvm.org
Tue Jun 11 20:44:16 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
251d884556 SCUMM: HE: Fix gfx regression on SpyFox3


Commit: 251d8845561d8e66f75c9fab4f3d2270b687f1d5
    https://github.com/scummvm/scummvm/commit/251d8845561d8e66f75c9fab4f3d2270b687f1d5
Author: AndywinXp (andywinxp at gmail.com)
Date: 2024-06-11T22:44:11+02:00

Commit Message:
SCUMM: HE: Fix gfx regression on SpyFox3

SpyFox's head deleted itself on room 15, by looking
at the keycard device. It turns out I needed that part
of the condition from the original.

Changed paths:
    engines/scumm/actor.cpp


diff --git a/engines/scumm/actor.cpp b/engines/scumm/actor.cpp
index 4ef3f387835..a3549c9e699 100644
--- a/engines/scumm/actor.cpp
+++ b/engines/scumm/actor.cpp
@@ -3099,9 +3099,12 @@ void ScummEngine_v95he::resetActorBgs() {
 			// apparently breaks a bunch of other stuff though,
 			// and doesn't help us in any way...
 			//
-			//if (!(testGfxOtherUsageBits(strip, j) && _actors[j]->_needBgReset))
+			//if (!(testGfxOtherUsageBits(strip, act))
 			//	continue;
 
+			if (!(_actors[act]->_needBgReset))
+				continue;
+
 			lastStrip = i;
 			actorMin = ((ActorHE *)_actors[act])->_screenUpdateTableMin[i];
 			actorMax = ((ActorHE *)_actors[act])->_screenUpdateTableMax[i] + 1;




More information about the Scummvm-git-logs mailing list