mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-31 12:30:32 +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 < 0.0)
|
||||||
{
|
{
|
||||||
if (anglediff < -4.5)
|
if (anglediff < -4.5)
|
||||||
angle = ang + 90.0 / 21;
|
angle = t.angleFromSource + 90.0 / 21;
|
||||||
else
|
else
|
||||||
angle -= 4.5;
|
angle -= 4.5;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (anglediff > 4.5)
|
if (anglediff > 4.5)
|
||||||
angle = ang - 90.0 / 21;
|
angle = t.angleFromSource - 90.0 / 21;
|
||||||
else
|
else
|
||||||
angle += 4.5;
|
angle += 4.5;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue