summaryrefslogtreecommitdiff
path: root/src/hexen/p_spec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hexen/p_spec.c')
-rw-r--r--src/hexen/p_spec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hexen/p_spec.c b/src/hexen/p_spec.c
index 44c9c713..f7a820ca 100644
--- a/src/hexen/p_spec.c
+++ b/src/hexen/p_spec.c
@@ -274,7 +274,7 @@ fixed_t P_FindLowestCeilingSurrounding(sector_t * sec)
int i;
line_t *check;
sector_t *other;
- fixed_t height = MAXINT;
+ fixed_t height = INT_MAX;
for (i = 0; i < sec->linecount; i++)
{