diff --git a/src/corelib/world.c b/src/corelib/world.c index 043175a..7476271 100644 --- a/src/corelib/world.c +++ b/src/corelib/world.c @@ -170,7 +170,7 @@ object_t* interpolate_move(object_t* object, float target_x, float target_y, flo // ensure this object would ever collide // if it wouldn't collide anyway, just set position - if(_can_collide(object)) { + if(!_can_collide(object)) { object->sprite.x = target_x; object->sprite.y = target_y; return NULL;