[Scummvm-git-logs] scummvm master -> 698cbe699020f20ced08c3498c0c95433e32bbbe
whoozle
noreply at scummvm.org
Tue Jul 14 22:34:15 UTC 2026
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:
698cbe6990 PHOENIXVR: Fix unreachable 3D region in Chapter 2 of Amerzone
Commit: 698cbe699020f20ced08c3498c0c95433e32bbbe
https://github.com/scummvm/scummvm/commit/698cbe699020f20ced08c3498c0c95433e32bbbe
Author: Vladimir Menshakov (vladimir.menshakov at gmail.com)
Date: 2026-07-14T23:32:52+01:00
Commit Message:
PHOENIXVR: Fix unreachable 3D region in Chapter 2 of Amerzone
Changed paths:
engines/phoenixvr/region_set.cpp
diff --git a/engines/phoenixvr/region_set.cpp b/engines/phoenixvr/region_set.cpp
index 848ea77bb91..3060165db67 100644
--- a/engines/phoenixvr/region_set.cpp
+++ b/engines/phoenixvr/region_set.cpp
@@ -64,7 +64,8 @@ bool Region::contains3D(float angleX, float angleY) const {
y1 = t;
}
float ax_pi2 = angleX + kTau;
- if ((angleX >= x0 && angleX <= x1) || (ax_pi2 >= x0 && ax_pi2 <= x1)) {
+ float ax_mpi2 = angleX - kTau;
+ if ((angleX >= x0 && angleX <= x1) || (ax_pi2 >= x0 && ax_pi2 <= x1) || (ax_mpi2 >= x0 && ax_mpi2 <= x1)) {
if (angleY >= y0 && angleY <= y1)
return true;
More information about the Scummvm-git-logs
mailing list