[Scummvm-git-logs] scummvm master -> 92cfdde704eb5710f6bb0c47b3906e6ae4e93d67

athrxx noreply at scummvm.org
Tue Sep 20 20:37:52 UTC 2022


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:
92cfdde704 KYRA: (HOF) - fix typo


Commit: 92cfdde704eb5710f6bb0c47b3906e6ae4e93d67
    https://github.com/scummvm/scummvm/commit/92cfdde704eb5710f6bb0c47b3906e6ae4e93d67
Author: athrxx (athrxx at scummvm.org)
Date: 2022-09-20T22:37:36+02:00

Commit Message:
KYRA: (HOF) - fix typo

This would actually be able to cause glitches if triggered. Which doesn't happen...

Changed paths:
    engines/kyra/sequence/sequences_hof.cpp


diff --git a/engines/kyra/sequence/sequences_hof.cpp b/engines/kyra/sequence/sequences_hof.cpp
index 6859dfe913b..821b218a6ee 100644
--- a/engines/kyra/sequence/sequences_hof.cpp
+++ b/engines/kyra/sequence/sequences_hof.cpp
@@ -1002,7 +1002,7 @@ void SeqPlayer_HOF::playAnimation(WSAMovie_v2 *wsaObj, int startFrame, int lastF
 			origW = 320 - x;
 
 		if (y + origH > 199)
-			origW = 200 - y;
+			origH = 200 - y;
 	}
 
 	int8 frameStep = (startFrame > lastFrame) ? -1 : 1;




More information about the Scummvm-git-logs mailing list