Fixed compiler warning.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9694 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk
2011-09-01 00:58:39 +00:00
parent a6dda46ad3
commit 85d21b2ea8

View File

@@ -336,8 +336,8 @@ void ParticleEmitter::setParticleType(const ParticleKind* type)
m_node->setName(debug_name.c_str());
}
#endif
m_min_rate = type->getMinRate();
m_max_rate = type->getMaxRate();
m_min_rate = (float)type->getMinRate();
m_max_rate = (float)type->getMaxRate();
if (isNewType)
{