diff options
Diffstat (limited to 'src/hexen/p_maputl.c')
-rw-r--r-- | src/hexen/p_maputl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hexen/p_maputl.c b/src/hexen/p_maputl.c index 762b9dbf..3c92717c 100644 --- a/src/hexen/p_maputl.c +++ b/src/hexen/p_maputl.c @@ -653,7 +653,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) { @@ -676,7 +676,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 |