diff options
author | Paul Gilbert | 2017-02-27 09:21:00 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-02-27 09:21:00 -0500 |
commit | 0c640239fdf4525126a98f4429c38cf83127ab36 (patch) | |
tree | 9ed0a286f08daab3245319e5626e34afce0523df /engines | |
parent | 1f99c01f1241b240017846822d387501b208f1d2 (diff) | |
download | scummvm-rg350-0c640239fdf4525126a98f4429c38cf83127ab36.tar.gz scummvm-rg350-0c640239fdf4525126a98f4429c38cf83127ab36.tar.bz2 scummvm-rg350-0c640239fdf4525126a98f4429c38cf83127ab36.zip |
TITANIC: Fix initialization of FRect
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/star_control/frect.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/star_control/frect.h b/engines/titanic/star_control/frect.h index cfe9970ba6..654c578cfd 100644 --- a/engines/titanic/star_control/frect.h +++ b/engines/titanic/star_control/frect.h @@ -34,8 +34,8 @@ public: double right, bottom; public: FRect() : left(0), top(0), right(0), bottom(0) {} - FRect(double left, double top, double right, double bottom) : - left(left), top(top), right(right), bottom(bottom) {} + FRect(double x1, double y1, double x2, double y2) : + left(x1), top(y1), right(x2), bottom(y2) {} /** * Returns true if the rects equal |