diff options
Diffstat (limited to 'engines/cruise/cruise_main.cpp')
-rw-r--r-- | engines/cruise/cruise_main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cruise/cruise_main.cpp b/engines/cruise/cruise_main.cpp index 7ce9b4ec78..6e2847d6d7 100644 --- a/engines/cruise/cruise_main.cpp +++ b/engines/cruise/cruise_main.cpp @@ -691,7 +691,7 @@ int findObject(int mouseX, int mouseY, int *outObjOvl, int *outObjIdx) { if ((filesDatabase[j].subData.resourceType == OBJ_TYPE_POLY) && (filesDatabase[j].subData.ptr)) { int zoom = params.scale; - int16* dataPtr = (int16*)filesDatabase[j].subData.ptr; + int16* dataPtr = (int16 *)filesDatabase[j].subData.ptr; if (*dataPtr == 0) { int16 offset; @@ -723,7 +723,7 @@ int findObject(int mouseX, int mouseY, int *outObjOvl, int *outObjIdx) { y -= newY; } - if (dataPtr && findPoly((char*)dataPtr, x, y, zoom, mouseX, mouseY)) { + if (dataPtr && findPoly((char *)dataPtr, x, y, zoom, mouseX, mouseY)) { *outObjOvl = linkedObjOvl; *outObjIdx = linkedObjIdx; |