From 967d3910e3957417630085237a95cdac546b1bd4 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Wed, 17 Sep 2008 20:03:40 +0000 Subject: ANGLE_MAX -> ANG_MAX (oops) Subversion-branch: /branches/raven-branch Subversion-revision: 1241 --- src/heretic/p_mobj.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/heretic/p_mobj.c') 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 -- cgit v1.2.3