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:44 +02:00
parent ea850bd8eb
commit 0315e628e6

View file

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