Fixed incorrect position of terrain particles (bug #69).

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7718 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk
2011-02-16 22:05:13 +00:00
parent 4acd295a0f
commit 904d058084

View File

@@ -953,6 +953,7 @@ void Kart::handleMaterialGFX()
xyz += Vec3(0.06f * (m_wheel_toggle ? +1 : -1),
0,
0.06f);
m_terrain_particles->setPosition(xyz.toIrrVector());
// Get the appropriate particle data depending on
// wether the kart is skidding or driving.
const ParticleKind* pk =