aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/startrek/room.cpp2
-rw-r--r--engines/startrek/room.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/startrek/room.cpp b/engines/startrek/room.cpp
index f3b853acde..84688acddc 100644
--- a/engines/startrek/room.cpp
+++ b/engines/startrek/room.cpp
@@ -756,7 +756,7 @@ void Room::mccoyScan(int direction, TextRef text, bool changeDirection, bool fro
showText(TX_SPEAKER_MCCOY, text, fromRDF);
}
-bool Room::isPointInPolygon(int16 offset, int16 x, int16 y) {
+bool Room::isPointInPolygon(int offset, int16 x, int16 y) {
int16 *data = (int16 *)(_rdfData + offset);
int16 numVertices = data[1];
int16 *vertData = &data[2];
diff --git a/engines/startrek/room.h b/engines/startrek/room.h
index be88008c4d..b3ae3e00d1 100644
--- a/engines/startrek/room.h
+++ b/engines/startrek/room.h
@@ -158,7 +158,7 @@ public:
* * Number of vertices in polygon
* * For each vertex: x and y coordinates.
*/
- bool isPointInPolygon(int16 offset, int16 x, int16 y);
+ bool isPointInPolygon(int offset, int16 x, int16 y);
byte *_rdfData;