diff options
Diffstat (limited to 'src/heretic')
-rw-r--r-- | src/heretic/p_mobj.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/heretic/p_mobj.c b/src/heretic/p_mobj.c index 15a39773..6daef71b 100644 --- a/src/heretic/p_mobj.c +++ b/src/heretic/p_mobj.c @@ -182,7 +182,7 @@ int P_FaceMobj(mobj_t * source, mobj_t * target, angle_t * delta) diff = angle2 - angle1; if (diff > ANG180) { - *delta = ANGLE_MAX - diff; + *delta = ANG_MAX - diff; return (0); } else @@ -196,7 +196,7 @@ int P_FaceMobj(mobj_t * source, mobj_t * target, angle_t * delta) diff = angle1 - angle2; if (diff > ANG180) { - *delta = ANGLE_MAX - diff; + *delta = ANG_MAX - diff; return (1); } else |