Skip to content
Snippets Groups Projects
Commit 323c89db authored by Monster Iestyn's avatar Monster Iestyn
Browse files

fix using abs() on unsigned

parent dd83652b
No related branches found
No related tags found
2 merge requests!488Merge in next and don't billboard papersprites in GL,!315OpenGL new clipping backport
......@@ -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...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment