diff options
author | Filippos Karapetis | 2019-12-27 13:59:13 +0200 |
---|---|---|
committer | Filippos Karapetis | 2019-12-27 16:54:56 +0200 |
commit | 14a07a4871d27a9596e921c64034512c844d5566 (patch) | |
tree | 56dd99d2882c4c8a5323d42d7af0760d4223f351 /engines/startrek/room.cpp | |
parent | 936fe120863a51240407625f63c238a9bce3f132 (diff) | |
download | scummvm-rg350-14a07a4871d27a9596e921c64034512c844d5566.tar.gz scummvm-rg350-14a07a4871d27a9596e921c64034512c844d5566.tar.bz2 scummvm-rg350-14a07a4871d27a9596e921c64034512c844d5566.zip |
STARTREK: Use a 32-bit integer for the file offset
Diffstat (limited to 'engines/startrek/room.cpp')
-rw-r--r-- | engines/startrek/room.cpp | 2 |
1 files changed, 1 insertions, 1 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]; |