diff options
Diffstat (limited to 'src/heretic/m_misc.c')
-rw-r--r-- | src/heretic/m_misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/heretic/m_misc.c b/src/heretic/m_misc.c index c621ec07..ff155419 100644 --- a/src/heretic/m_misc.c +++ b/src/heretic/m_misc.c @@ -171,8 +171,8 @@ void M_ClearRandom(void) void M_ClearBox(fixed_t * box) { - box[BOXTOP] = box[BOXRIGHT] = MININT; - box[BOXBOTTOM] = box[BOXLEFT] = MAXINT; + box[BOXTOP] = box[BOXRIGHT] = INT_MIN; + box[BOXBOTTOM] = box[BOXLEFT] = INT_MAX; } void M_AddToBox(fixed_t * box, fixed_t x, fixed_t y) |