From f4eee214a79634cdd2e6fe576950524170c01fa9 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 27 Jan 2013 17:24:16 +0000 Subject: Support for particle ejector timeout value, do not draw destroyed entity models., --- src/render/particleejectorscript.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/render/particleejectorscript.cc') diff --git a/src/render/particleejectorscript.cc b/src/render/particleejectorscript.cc index 2b6f8ce..b2c84bc 100644 --- a/src/render/particleejectorscript.cc +++ b/src/render/particleejectorscript.cc @@ -17,6 +17,7 @@ ParticleEjectorScript::ParticleEjectorScript() script_cone = 0.0f; script_offset = 0.5f; script_lifespan = 1000; + script_timeout = 0; script_acceleration = 0.0f; script_entity = false; script_entity_second = false; @@ -37,6 +38,7 @@ ParticleEjectorScript::ParticleEjectorScript(const ParticleEjectorScript &other) script_spawn_radius = other.spawn_radius(); script_offset = other.offset(); script_lifespan = other.lifespan(); + script_timeout = other.timeout(); script_acceleration = other.acceleration(); script_entity = other.entity(); script_entity_second = other.entity_second(); -- cgit v1.2.3