From 43fa322409fb158ce9288cd5f0db0cfb1a0f24d4 Mon Sep 17 00:00:00 2001 From: Sara Date: Sat, 24 Jun 2023 20:34:35 +0200 Subject: [PATCH] removed debug prints from _slide_collision solver --- src/corelib/world.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/corelib/world.c b/src/corelib/world.c index 1a33db3..a46e6bc 100644 --- a/src/corelib/world.c +++ b/src/corelib/world.c @@ -260,8 +260,6 @@ void _slide_collision(object_t* this, object_t* other, float old_x, float old_y, const float d = _get_overlap(this, other, &dx, &dy); this->sprite.x += dx; this->sprite.y += dy; - printf("collision solving step: %f %f, distance: %f\n", dx, dy, d); - printf("collision solved, resulting position: %f, %f\n", this->sprite.x, this->sprite.y); return; this->sprite.x = old_x;