diff --git a/src/corelib/physics.c b/src/corelib/physics.c index f289606..001348c 100644 --- a/src/corelib/physics.c +++ b/src/corelib/physics.c @@ -185,7 +185,7 @@ void solve_collision_slide(object_t* left, object_t* right) { float dx, dy; const float d = get_solve_force(left, right, &dx, &dy); left->sprite.x += dx; - right->sprite.y += dy; + left->sprite.y += dy; } static inline