crap ... fix for last commit - conditional check for fix_illegal_wall_intersection was wrong...

This commit is contained in:
zicodxx 2011-05-19 01:35:41 +02:00
parent 6f4ad8eef3
commit 42fbf5a5e6

View file

@ -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) )