diff options
author | Stijn Buys <ingar@osirion.org> | 2013-10-13 20:14:17 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2013-10-13 20:14:17 +0000 |
commit | d6471bf0f398257cb379944323cf85e8115491a5 (patch) | |
tree | a65de7dfe769d12fc88bb56f16bffc7f330e1d08 /src/render/particlesystemscript.cc | |
parent | d192894dc60562c04a98ea0ba361045178e096d7 (diff) |
Axded explosion trigger for particle ejecotrs, fixed explosion particles for destroyed entities.
Diffstat (limited to 'src/render/particlesystemscript.cc')
-rw-r--r-- | src/render/particlesystemscript.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/particlesystemscript.cc b/src/render/particlesystemscript.cc index 03ce86e..4c1f62b 100644 --- a/src/render/particlesystemscript.cc +++ b/src/render/particlesystemscript.cc @@ -235,6 +235,10 @@ ParticleSystemScript *ParticleSystemScript::load(const std::string &label) ejector->set_impulse(b); continue; + } else if (inifile.got_key_bool("explosion", b)) { + ejector->set_impulse(b); + continue; + } else if (inifile.got_key_bool("entity", b)) { ejector->set_entity(b); continue; |