[Scummvm-git-logs] scummvm master -> 0b7b31217304963cb231056b13241ddc5181f66a
mduggan
mgithub at guarana.org
Fri Jul 30 10:54:27 UTC 2021
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:
0b7b312173 ULTIMA8: Fix Crusader check for moving Crusader camera on Z
Commit: 0b7b31217304963cb231056b13241ddc5181f66a
https://github.com/scummvm/scummvm/commit/0b7b31217304963cb231056b13241ddc5181f66a
Author: Matthew Duggan (mgithub at guarana.org)
Date: 2021-07-30T19:50:33+09:00
Commit Message:
ULTIMA8: Fix Crusader check for moving Crusader camera on Z
A while back I updated the camera position to avatar center but forgot to
update this check for invalid locations.
Changed paths:
engines/ultima/ultima8/misc/debugger.cpp
diff --git a/engines/ultima/ultima8/misc/debugger.cpp b/engines/ultima/ultima8/misc/debugger.cpp
index aa7dc837f4..cb75c3547c 100644
--- a/engines/ultima/ultima8/misc/debugger.cpp
+++ b/engines/ultima/ultima8/misc/debugger.cpp
@@ -1215,7 +1215,7 @@ bool Debugger::cmdCameraOnAvatar(int argc, const char **argv) {
if (actor) {
int32 x, y, z;
actor->getCentre(x, y, z);
- if (x || y || z)
+ if (x > 0 || y > 0)
CameraProcess::SetCameraProcess(new CameraProcess(x, y, z));
}
return false;
More information about the Scummvm-git-logs
mailing list