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

aquadran noreply at scummvm.org
Sat Oct 19 17:09:05 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:
fca990b4b0 WINTERMUTE: Synced AdActor3DX::displayShadowVolume() with original code


Commit: fca990b4b0d81c53a244f3c31f9c78f0ab6c063b
    https://github.com/scummvm/scummvm/commit/fca990b4b0d81c53a244f3c31f9c78f0ab6c063b
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2024-10-19T19:09:00+02:00

Commit Message:
WINTERMUTE: Synced AdActor3DX::displayShadowVolume() with original code

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 91e51394a27..1e2a3d0e6ae 100644
--- a/engines/wintermute/ad/ad_actor_3dx.cpp
+++ b/engines/wintermute/ad/ad_actor_3dx.cpp
@@ -484,7 +484,7 @@ bool AdActor3DX::displayShadowVolume() {
 	target = _posVector;
 
 	lightVector = pos - target;
-	extrusionDepth = DXVec3Length(&lightPos) * 1.5f;
+	extrusionDepth = DXVec3Length(&lightVector) * 1.5f;
 	DXVec3Normalize(&lightVector, &lightVector);
 
 	getShadowVolume()->setColor(_shadowColor);




More information about the Scummvm-git-logs mailing list