summaryrefslogtreecommitdiff
path: root/src/hexen/h2_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hexen/h2_main.c')
-rw-r--r--src/hexen/h2_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hexen/h2_main.c b/src/hexen/h2_main.c
index 60ae9f64..3518ea37 100644
--- a/src/hexen/h2_main.c
+++ b/src/hexen/h2_main.c
@@ -844,7 +844,7 @@ fixed_t FixedDiv(fixed_t a, fixed_t b)
{
if ((abs(a) >> 14) >= abs(b))
{
- return ((a ^ b) < 0 ? MININT : MAXINT);
+ return ((a ^ b) < 0 ? INT_MIN : INT_MAX);
}
return (FixedDiv2(a, b));
}