mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-23 03:12:38 +00:00
Use INT32_MAX
This commit is contained in:
parent
6a6b65ddc4
commit
db9b26c876
1 changed files with 1 additions and 1 deletions
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue