Fixed creating rain class

This commit is contained in:
Deve 2014-08-29 21:50:14 +02:00
parent 537d435f7f
commit 5a937d6f12

View File

@ -2095,6 +2095,11 @@ void Track::loadObjects(const XMLNode* root, const std::string& path, ModelDefin
if (weather_particles.size() > 0)
{
if (weather_particles == "rain.xml")
{
m_weather_type = WEATHER_RAIN;
}
m_sky_particles =
ParticleKindManager::get()->getParticles(weather_particles);
}