summaryrefslogtreecommitdiff
path: root/src/heretic/p_maputl.c
diff options
context:
space:
mode:
authorSimon Howard2008-09-17 01:05:14 +0000
committerSimon Howard2008-09-17 01:05:14 +0000
commit55bb7e8935369cb392c705969ed626fe9c0c391c (patch)
tree8a7428c5504b089e19625d3657e75f9a8c0f2839 /src/heretic/p_maputl.c
parent61e77600041ba534d824943320e7ddddb8e4f6ce (diff)
downloadchocolate-doom-55bb7e8935369cb392c705969ed626fe9c0c391c.tar.gz
chocolate-doom-55bb7e8935369cb392c705969ed626fe9c0c391c.tar.bz2
chocolate-doom-55bb7e8935369cb392c705969ed626fe9c0c391c.zip
Convert MAXINT/MININT -> INT_MAX/INT_MIN in Heretic/Hexen code.
Subversion-branch: /branches/raven-branch Subversion-revision: 1234
Diffstat (limited to 'src/heretic/p_maputl.c')
-rw-r--r--src/heretic/p_maputl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/heretic/p_maputl.c b/src/heretic/p_maputl.c
index 23aed3b2..72e4993c 100644
--- a/src/heretic/p_maputl.c
+++ b/src/heretic/p_maputl.c
@@ -622,7 +622,7 @@ boolean P_TraverseIntercepts(traverser_t func, fixed_t maxfrac)
while (count--)
{
- dist = MAXINT;
+ dist = INT_MAX;
for (scan = intercepts; scan < intercept_p; scan++)
if (scan->frac < dist)
{
@@ -645,7 +645,7 @@ boolean P_TraverseIntercepts(traverser_t func, fixed_t maxfrac)
if (!func(in))
return false; // don't bother going farther
- in->frac = MAXINT;
+ in->frac = INT_MAX;
}
return true; // everything was traversed