mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-19 07:01:09 +00:00
- SW: Restore lost SetAngleFromChange(actor)
call from previous commit.
This commit is contained in:
parent
ae6af08cf1
commit
165afbbfa9
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue