From 55bb7e8935369cb392c705969ed626fe9c0c391c Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Wed, 17 Sep 2008 01:05:14 +0000 Subject: Convert MAXINT/MININT -> INT_MAX/INT_MIN in Heretic/Hexen code. Subversion-branch: /branches/raven-branch Subversion-revision: 1234 --- src/hexen/p_sight.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/hexen/p_sight.c') diff --git a/src/hexen/p_sight.c b/src/hexen/p_sight.c index a2377bde..423c26de 100644 --- a/src/hexen/p_sight.c +++ b/src/hexen/p_sight.c @@ -215,7 +215,7 @@ boolean P_SightTraverseIntercepts(void) while (count--) { - dist = MAXINT; + dist = INT_MAX; for (scan = intercepts; scan < intercept_p; scan++) if (scan->frac < dist) { @@ -225,7 +225,7 @@ boolean P_SightTraverseIntercepts(void) if (!PTR_SightTraverse(in)) return false; // don't bother going farther - in->frac = MAXINT; + in->frac = INT_MAX; } return true; // everything was traversed -- cgit v1.2.3