summaryrefslogtreecommitdiff
path: root/src/heretic/r_things.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/r_things.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/r_things.c')
-rw-r--r--src/heretic/r_things.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/heretic/r_things.c b/src/heretic/r_things.c
index 8195a543..de51504b 100644
--- a/src/heretic/r_things.c
+++ b/src/heretic/r_things.c
@@ -851,7 +851,7 @@ void R_SortVisSprites(void)
vsprsortedhead.next = vsprsortedhead.prev = &vsprsortedhead;
for (i = 0; i < count; i++)
{
- bestscale = MAXINT;
+ bestscale = INT_MAX;
for (ds = unsorted.next; ds != &unsorted; ds = ds->next)
{
if (ds->scale < bestscale)