solve_collision_slide no longer modifies rhs argument
parent
9a732ad82f
commit
20ca626acf
|
@ -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