crap ... fix for last commit - conditional check for fix_illegal_wall_intersection was wrong...
This commit is contained in:
parent
ea850bd8eb
commit
0315e628e6
|
@ -302,7 +302,7 @@ void fix_illegal_wall_intersection(object *obj)
|
|||
{
|
||||
int hseg = -1, hside = -1, hface = -1;
|
||||
|
||||
if (obj->type == OBJ_PLAYER || obj->type == OBJ_ROBOT)
|
||||
if (!(obj->type == OBJ_PLAYER || obj->type == OBJ_ROBOT))
|
||||
return;
|
||||
|
||||
if ( object_intersects_wall_d(obj,&hseg,&hside,&hface) )
|
||||
|
|
Loading…
Reference in a new issue