[Scummvm-git-logs] scummvm master -> d8fb5a771b8ffeb1400e326129c0281fa2779ac0
whoozle
noreply at scummvm.org
Wed Feb 11 20:07:05 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:
d8fb5a771b PHOENIXVR: do not set angle range if any of angles is -1
Commit: d8fb5a771b8ffeb1400e326129c0281fa2779ac0
https://github.com/scummvm/scummvm/commit/d8fb5a771b8ffeb1400e326129c0281fa2779ac0
Author: Vladimir Menshakov (vladimir.menshakov at gmail.com)
Date: 2026-02-11T20:05:55Z
Commit Message:
PHOENIXVR: do not set angle range if any of angles is -1
Changed paths:
engines/phoenixvr/phoenixvr.cpp
diff --git a/engines/phoenixvr/phoenixvr.cpp b/engines/phoenixvr/phoenixvr.cpp
index 7fe7c5c3c71..228e7b10ef9 100644
--- a/engines/phoenixvr/phoenixvr.cpp
+++ b/engines/phoenixvr/phoenixvr.cpp
@@ -937,7 +937,8 @@ Common::Error PhoenixVREngine::loadGameStream(Common::SeekableReadStream *slot)
setAngle(toAngle(angleX), toAngle(angleY));
setXMax(toAngle(angleXMax));
- setYMax(toAngle(angleYMin), toAngle(angleYMax));
+ if (angleYMin != -1 && angleYMax != -1)
+ setYMax(toAngle(angleYMin), toAngle(angleYMax));
_nextWarp = currentWarpIdx;
More information about the Scummvm-git-logs
mailing list