fix using abs() on unsigned

This commit is contained in:
Monster Iestyn 2018-11-10 17:40:09 +00:00
parent dd83652b71
commit 323c89dbaf
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ angle_t gld_FrustumAngle(void)
}
// If the pitch is larger than this you can look all around at a FOV of 90
if (abs(aimingangle) > 46 * ANG1)
if (abs((signed)aimingangle) > 46 * ANG1)
return 0xffffffff;
// ok, this is a gross hack that barely works...