Fixed some trivial compiler warnings

This commit is contained in:
Alex Szpakowski
2014-03-12 17:55:19 -03:00
parent a13fd761cc
commit 4faddcd9aa
8 changed files with 37 additions and 21 deletions
+2 -2
View File
@@ -468,8 +468,8 @@ void Source::getDirection(float *v) const
void Source::setCone(float innerAngle, float outerAngle, float outerVolume)
{
cone.innerAngle = LOVE_TODEG(innerAngle);
cone.outerAngle = LOVE_TODEG(outerAngle);
cone.innerAngle = (int) LOVE_TODEG(innerAngle);
cone.outerAngle = (int) LOVE_TODEG(outerAngle);
cone.outerVolume = outerVolume;
if (valid)