solve_collision_slide no longer moves lhs arg
parent
9a732ad82f
commit
2af80825a3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue