[Scummvm-git-logs] scummvm master -> 1de09bc289c93067fdc988008aa697ded68260ca

sdelamarre noreply at scummvm.org
Mon Nov 25 11:32:04 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:
1de09bc289 GOB: Bugfix in Goblin_v7::setGoblinState (Adibou2) - bug #15516


Commit: 1de09bc289c93067fdc988008aa697ded68260ca
    https://github.com/scummvm/scummvm/commit/1de09bc289c93067fdc988008aa697ded68260ca
Author: Simon Delamarre (simon.delamarre14 at gmail.com)
Date: 2024-11-25T12:31:41+01:00

Commit Message:
GOB: Bugfix in Goblin_v7::setGoblinState (Adibou2) - bug #15516

Changed paths:
    engines/gob/goblin_v7.cpp


diff --git a/engines/gob/goblin_v7.cpp b/engines/gob/goblin_v7.cpp
index 95ef49ee499..8aa228a0eb1 100644
--- a/engines/gob/goblin_v7.cpp
+++ b/engines/gob/goblin_v7.cpp
@@ -79,6 +79,7 @@ void Goblin_v7::setGoblinState(Mult::Mult_Object *obj, int16 animState) {
 			if (animVariablesForState[0] == 0) {
 				newXCorrection = animVariablesForState[1];
 				newYCorrection = animVariablesForState[2];
+				break;
 			} else {
 				if (animVariablesForState[0] == -2) {
 					// Reflexion relative to Y axis:




More information about the Scummvm-git-logs mailing list