solve_collision_slide no longer moves lhs arg

Sara 2023-06-25 18:16:17 +02:00
parent 9a732ad82f
commit 2af80825a3
1 changed files with 1 additions and 1 deletions

View File

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