Try to enable fading (but seems to do nothing visible).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4292 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
ffc5d397e8
commit
a9bdacbe80
@ -53,7 +53,7 @@ Nitro::Nitro(Kart* kart) : m_kart(kart)
|
||||
m_node->setEmitter(m_emitter); // this grabs the emitter
|
||||
m_emitter->drop(); // so we can drop our reference
|
||||
|
||||
scene::IParticleAffector *af = m_node->createFadeOutParticleAffector();
|
||||
scene::IParticleAffector *af = m_node->createFadeOutParticleAffector(video::SColor(0, 0, 0, 0), 2500);
|
||||
m_node->addAffector(af);
|
||||
af->drop();
|
||||
} // KartParticleSystem
|
||||
|
Loading…
x
Reference in New Issue
Block a user