fix using abs() on unsigned
This commit is contained in:
parent
dd83652b71
commit
323c89dbaf
|
@ -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 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;
|
return 0xffffffff;
|
||||||
|
|
||||||
// ok, this is a gross hack that barely works...
|
// ok, this is a gross hack that barely works...
|
||||||
|
|
Loading…
Reference in New Issue