summaryrefslogtreecommitdiff
path: root/src/heretic/p_spec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/heretic/p_spec.c')
-rw-r--r--src/heretic/p_spec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/heretic/p_spec.c b/src/heretic/p_spec.c
index 5a6aee8c..aff01e11 100644
--- a/src/heretic/p_spec.c
+++ b/src/heretic/p_spec.c
@@ -441,7 +441,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++)
{