Added a missing 'f', which flagged warnings on some compilers.

This commit is contained in:
Shamus Young 2009-05-05 22:48:17 +00:00
parent 7ce3174bbf
commit 0997f49311
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ float MathAngleDifference (float a1, float a2)
float result;
result = (float)fmod (a1 - a2, 360.0);
result = (float)fmod (a1 - a2, 360.0f);
if (result > 180.0)
return result - 360.0F;
if (result < -180.0)