[Scummvm-git-logs] scummvm master -> f0425d4e94f5e54f9c502a388732fa6e77401814
sev-
sev at scummvm.org
Sat Oct 1 00:50:53 CEST 2016
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:
f0425d4e94 FULLPIPE: Fix bounding box calculation in ReactPolygonal::getBBox
Commit: f0425d4e94f5e54f9c502a388732fa6e77401814
https://github.com/scummvm/scummvm/commit/f0425d4e94f5e54f9c502a388732fa6e77401814
Author: Retro-Junk (bambarbee at yandex.ru)
Date: 2016-10-01T00:50:35+02:00
Commit Message:
FULLPIPE: Fix bounding box calculation in ReactPolygonal::getBBox
Changed paths:
engines/fullpipe/motion.cpp
diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp
index 51f5ae7..7440323 100644
--- a/engines/fullpipe/motion.cpp
+++ b/engines/fullpipe/motion.cpp
@@ -3055,13 +3055,13 @@ void ReactPolygonal::getBBox(Common::Rect *rect) {
if (rect->left > _points[i]->x)
rect->left = _points[i]->x;
- if (rect->top < _points[i]->y)
+ if (rect->top > _points[i]->y)
rect->top = _points[i]->y;
if (rect->right < _points[i]->x)
rect->right = _points[i]->x;
- if (rect->bottom > _points[i]->y)
+ if (rect->bottom < _points[i]->y)
rect->bottom = _points[i]->y;
}
More information about the Scummvm-git-logs
mailing list