Move the emitter quite a bit in front of the kart, helps the overcoming snow issue

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7769 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2011-02-28 02:02:54 +00:00
parent 2293fdbe80
commit c1f0c77609

View File

@ -1617,7 +1617,7 @@ void Kart::loadData(RaceManager::KartType type, Track* track, bool animatedModel
track->getSkyParticles()->setBoxSizeX(150.0f);
track->getSkyParticles()->setBoxSizeZ(150.0f);
m_sky_particles_emitter = new ParticleEmitter(track->getSkyParticles(), core::vector3df(0, 40.0f, 0),
m_sky_particles_emitter = new ParticleEmitter(track->getSkyParticles(), core::vector3df(0.0f, 40.0f, 55.0f),
getNode());
// FIXME: in multiplayer mode, this will result in several instances of the heightmap being calculated