diff options
-rw-r--r-- | engines/cruise/function.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/cruise/function.cpp b/engines/cruise/function.cpp index 9ab3e3a835..5971d191fa 100644 --- a/engines/cruise/function.cpp +++ b/engines/cruise/function.cpp @@ -1083,8 +1083,7 @@ void checkCollisionWithWalkBoxesBoundingBoxes(int x, int y) { ctpVar19SubStruct *subStruct; - if (-1 == (int)di->field_0) // ok, ugly, but it's in the original - { + if ((ctpVar19Struct *)-1 == di->field_0) { // ok, ugly, but it's in the original flag_obstacle = 0; return; } |