crap ... fix for last commit - conditional check for fix_illegal_wall_intersection was wrong...
This commit is contained in:
parent
6f4ad8eef3
commit
42fbf5a5e6
|
@ -291,7 +291,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