summaryrefslogtreecommitdiff
path: root/src/particle.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2008-10-26 01:46:40 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2008-10-26 01:46:40 +0000
commit56410d9ff28448a73be7a7d115d54c1ee578972c (patch)
treeb9a7b56222610d08215eaf29cb921635b9e3081b /src/particle.cpp
parentc650e2b6338cf4b18b0968623d12ef95a7b820fc (diff)
downloadmana-client-56410d9ff28448a73be7a7d115d54c1ee578972c.tar.gz
mana-client-56410d9ff28448a73be7a7d115d54c1ee578972c.tar.bz2
mana-client-56410d9ff28448a73be7a7d115d54c1ee578972c.tar.xz
mana-client-56410d9ff28448a73be7a7d115d54c1ee578972c.zip
Implemented particle emitters with properties which change over time according to wave functions.
Diffstat (limited to 'src/particle.cpp')
-rw-r--r--src/particle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/particle.cpp b/src/particle.cpp
index 8591838f..1521e75b 100644
--- a/src/particle.cpp
+++ b/src/particle.cpp
@@ -181,7 +181,7 @@ Particle::update()
e++
)
{
- Particles newParticles = (*e)->createParticles();
+ Particles newParticles = (*e)->createParticles(mLifetimePast);
for ( ParticleIterator p = newParticles.begin();
p != newParticles.end();
p++