mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
*sigh* This compiles again
This commit is contained in:
parent
309bc2dcaa
commit
5cac87c99f
@ -830,7 +830,7 @@ static cell AMX_NATIVE_CALL in_view_cone(AMX *amx, cell *params)
|
||||
|
||||
flDot = DotProduct(vecLOS, vecForward);
|
||||
|
||||
// Dividing fov by two and then converting it to radians - don't ask about this ever again, please :\
|
||||
/* Dividing fov by two and then converting it to radians - don't ask about this ever again, please :\ */
|
||||
if (flDot >= cos(pEdictSrc->v.fov * (M_PI / 360)))
|
||||
return 1;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user