[Scummvm-git-logs] scummvm master -> 4c52adc8d6721a6e6a8f80f689ef9d37dca069db
aquadran
noreply at scummvm.org
Mon Sep 22 18:51:42 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:
4c52adc8d6 WINTERMUTE: Small code sync
Commit: 4c52adc8d6721a6e6a8f80f689ef9d37dca069db
https://github.com/scummvm/scummvm/commit/4c52adc8d6721a6e6a8f80f689ef9d37dca069db
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2025-09-22T20:51:37+02:00
Commit Message:
WINTERMUTE: Small code sync
Changed paths:
engines/wintermute/base/gfx/3dlight.cpp
diff --git a/engines/wintermute/base/gfx/3dlight.cpp b/engines/wintermute/base/gfx/3dlight.cpp
index 52f588b3a12..1e1867f878d 100644
--- a/engines/wintermute/base/gfx/3dlight.cpp
+++ b/engines/wintermute/base/gfx/3dlight.cpp
@@ -61,7 +61,8 @@ bool Light3D::setLight(int index) {
diffuse._z = RGBCOLGetB(_diffuseColor) / 256.0f;
diffuse._w = 1.0f;
- _game->_renderer3D->setLightParameters(index, _pos, _target - _pos, diffuse, _isSpotlight);
+ DXVector3 dir = _target - _pos;
+ _game->_renderer3D->setLightParameters(index, _pos, dir, diffuse, _isSpotlight);
if (_active) {
_game->_renderer3D->lightEnable(index, true);
More information about the Scummvm-git-logs
mailing list