aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/titanic/support/rect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/support/rect.h b/engines/titanic/support/rect.h
index eca256df56..874dbdae59 100644
--- a/engines/titanic/support/rect.h
+++ b/engines/titanic/support/rect.h
@@ -42,7 +42,7 @@ public:
/**
* Returns the top/left corner of the rect as a point
*/
- operator const Point() { return Point(left, top); }
+ operator Point() { return Point(left, top); }
/**
* Clear the rect