mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
Fixed: A_FaceMovementDirection was backwards.
This commit is contained in:
parent
228c447a02
commit
4eee1c7af1
1 changed files with 1 additions and 1 deletions
|
@ -6724,7 +6724,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_FaceMovementDirection)
|
||||||
//Code borrowed from A_Face*.
|
//Code borrowed from A_Face*.
|
||||||
if (anglelimit > 0)
|
if (anglelimit > 0)
|
||||||
{
|
{
|
||||||
DAngle delta = deltaangle(current, angle);
|
DAngle delta = -deltaangle(current, angle);
|
||||||
if (fabs(delta) > anglelimit)
|
if (fabs(delta) > anglelimit)
|
||||||
{
|
{
|
||||||
if (delta < 0)
|
if (delta < 0)
|
||||||
|
|
Loading…
Reference in a new issue