Fixed creating rain class
This commit is contained in:
parent
537d435f7f
commit
5a937d6f12
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user