- SW: Restore lost SetAngleFromChange(actor) call from previous commit.

This commit is contained in:
Mitchell Richters 2023-01-07 22:49:22 +11:00 committed by Christoph Oelckers
parent 71b86f30e0
commit c25fb335fd

View file

@ -8327,6 +8327,7 @@ bool SlopeBounce(DSWActor* actor, bool* hit_wall)
// reflection code
double k = actor->user.change.dot(normal) / normal.LengthSquared();
actor->user.change -= k * normal;
SetAngleFromChange(actor);
return true;
}