[Scummvm-git-logs] scummvm master -> df1cf06dfc4f97430b9a7b7d909807ea644b71ae

aquadran noreply at scummvm.org
Tue Jul 22 20:40:16 UTC 2025


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

Summary:
df1cf06dfc WINTERMUTE: Fixed opcode after sync with angle original code - sync with original


Commit: df1cf06dfc4f97430b9a7b7d909807ea644b71ae
    https://github.com/scummvm/scummvm/commit/df1cf06dfc4f97430b9a7b7d909807ea644b71ae
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2025-07-22T22:40:12+02:00

Commit Message:
WINTERMUTE: Fixed opcode after sync with angle original code - sync with original

Changed paths:
    engines/wintermute/ad/ad_actor_3dx.cpp


diff --git a/engines/wintermute/ad/ad_actor_3dx.cpp b/engines/wintermute/ad/ad_actor_3dx.cpp
index 06a6a37762a..86cbb5f871f 100644
--- a/engines/wintermute/ad/ad_actor_3dx.cpp
+++ b/engines/wintermute/ad/ad_actor_3dx.cpp
@@ -2225,8 +2225,7 @@ bool AdActor3DX::scSetProperty(const char *name, ScValue *value) {
 	// DirectionAngle / DirAngle
 	//////////////////////////////////////////////////////////////////////////
 	else if (strcmp(name, "DirectionAngle") == 0 || strcmp(name, "DirAngle") == 0) {
-		_angle = value->getFloat();
-		BaseUtils::normalizeAngle(_angle);
+		_angle = BaseUtils::normalizeAngle(value->getFloat());
 		return true;
 	}
 




More information about the Scummvm-git-logs mailing list