[Scummvm-git-logs] scummvm master -> 6610c5f1d15d003549a134e45343d744fc9542f6
mduggan
noreply at scummvm.org
Tue Sep 27 00:31:32 UTC 2022
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:
6610c5f1d1 ULTIMA8: Fix incorrect Rect clipping bottom calculation
Commit: 6610c5f1d15d003549a134e45343d744fc9542f6
https://github.com/scummvm/scummvm/commit/6610c5f1d15d003549a134e45343d744fc9542f6
Author: Matthew Duggan (mgithub at guarana.org)
Date: 2022-09-27T09:27:07+09:00
Commit Message:
ULTIMA8: Fix incorrect Rect clipping bottom calculation
When minimap was moved off the screen, the crosshair was incorrectly was drawn
over the whole height of the minimap. This fixes bug #13850.
Changed paths:
engines/ultima/ultima8/misc/rect.h
diff --git a/engines/ultima/ultima8/misc/rect.h b/engines/ultima/ultima8/misc/rect.h
index caa9789de63..29e77af9ddb 100644
--- a/engines/ultima/ultima8/misc/rect.h
+++ b/engines/ultima/ultima8/misc/rect.h
@@ -90,7 +90,7 @@ struct Rect {
if (left < r.left) left = r.left;
else if (left > r.right) left = r.right;
- if (bottom < r.top) bottom = r.bottom;
+ if (bottom < r.top) bottom = r.top;
else if (bottom > r.bottom) bottom = r.bottom;
if (right < r.left) right = r.left;
More information about the Scummvm-git-logs
mailing list