aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/titanic/star_control/frect.h4
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