Use INT32_MAX

This commit is contained in:
Zwip-Zwap Zapony 2023-11-16 20:36:08 +00:00 committed by Hanicef
parent 6a6b65ddc4
commit db9b26c876

View file

@ -1034,7 +1034,7 @@ boolean R_IsPointInSector(sector_t *sector, fixed_t x, fixed_t y)
{
size_t i;
line_t *closest = NULL;
fixed_t closestdist = 0x7fffffff;
fixed_t closestdist = INT32_MAX;
for (i = 0; i < sector->linecount; i++)
{