Don't cast pointers to int, this (potentially) breaks 64 bit systems
svn-id: r26806
This commit is contained in:
parent
ed796d164a
commit
a7ced58d9a
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue