[Scummvm-git-logs] scummvm master -> 9a50af1c397696ddb1db3b170787fee10f40384d
aquadran
noreply at scummvm.org
Fri Oct 25 19:00:37 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:
9a50af1c39 WINTERMUTE: Fixed restoring original code, typo in variable.
Commit: 9a50af1c397696ddb1db3b170787fee10f40384d
https://github.com/scummvm/scummvm/commit/9a50af1c397696ddb1db3b170787fee10f40384d
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2024-10-25T21:00:31+02:00
Commit Message:
WINTERMUTE: Fixed restoring original code, typo in variable.
Changed paths:
engines/wintermute/ad/ad_scene_geometry.cpp
diff --git a/engines/wintermute/ad/ad_scene_geometry.cpp b/engines/wintermute/ad/ad_scene_geometry.cpp
index 739bece669e..e708c415135 100644
--- a/engines/wintermute/ad/ad_scene_geometry.cpp
+++ b/engines/wintermute/ad/ad_scene_geometry.cpp
@@ -669,7 +669,7 @@ bool AdSceneGeometry::convert2Dto3D(int x, int y, DXVector3 *pos) {
// Get the inverse view matrix
DXMatrix m;
- DXMatrixInverse(&m, nullptr, &_lastViewMat);
+ DXMatrixInverse(&m, nullptr, &_viewMatrix);
// Transform the screen space pick ray into 3D space
vPickRayDir._x = vec._x * m.matrix._11 + vec._y * m.matrix._21 + vec._z * m.matrix._31;
More information about the Scummvm-git-logs
mailing list