recenter snow after recent particles center change

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8519 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2011-05-06 00:50:43 +00:00
parent 24a11c5b8b
commit 31f61da7e2

View File

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