mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 22:11:43 +00:00
- fixed: A_Saw was using the wrong angle for adjusting the facing direction at the end.
This commit is contained in:
parent
18b953dd50
commit
ebdc672985
1 changed files with 2 additions and 2 deletions
|
@ -148,14 +148,14 @@ extend class StateProvider
|
|||
if (anglediff < 0.0)
|
||||
{
|
||||
if (anglediff < -4.5)
|
||||
angle = ang + 90.0 / 21;
|
||||
angle = t.angleFromSource + 90.0 / 21;
|
||||
else
|
||||
angle -= 4.5;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (anglediff > 4.5)
|
||||
angle = ang - 90.0 / 21;
|
||||
angle = t.angleFromSource - 90.0 / 21;
|
||||
else
|
||||
angle += 4.5;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue