mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
fix using abs() on unsigned
This commit is contained in:
parent
58c8cbf71d
commit
2373a6d209
1 changed files with 1 additions and 1 deletions
|
|
@ -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...
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue