think this should be casted to angle_t

This commit is contained in:
Alug committed 2024-06-04 17:08:09 +02:00
1 parent b9b97d0a56
commit ab3ea7475f
1 file changed
+2 -2
+2 -2
View File
@@ -337,16 +337,16 @@ angle_t gld_FrustumAngle(angle_t tiltangle)
floatangle = 2.0f + (45.0f + (tilt / 1.9f)) * clipfov / 90.0f;
if (floatangle >= 180.0)
return 0xffffffff;
a1 = ANG1 * (int)floatangle;
a1 = (angle_t)(ANG1 * (int)floatangle);
return a1;
}
// SRB2CB I don't think used any of this stuff, let's disable for now since SRB2 probably doesn't want it either
// compiler complains about (p)glGetFloatv anyway, in case anyone wants this
// only r_opengl.c can use the base gl funcs as it turns out, that's a problem for whoever wants sphere frustum checks
// btw to renable define HAVE_SPHEREFRUSTRUM in hw_clip.h
#ifdef HAVE_SPHEREFRUSTRUM
//
// gld_FrustumSetup
//