mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
formatting
This commit is contained in:
parent
29768b6a4d
commit
6eed2993eb
@ -295,8 +295,9 @@ kill_particle(int pool_index) {
|
||||
BaseParticle *bp = (BaseParticle *) _physics_objects[pool_index].p();
|
||||
|
||||
// create a new system where this one died, maybe.
|
||||
if (_spawn_on_death_flag == true)
|
||||
if (_spawn_on_death_flag == true) {
|
||||
spawn_child_system(bp);
|
||||
}
|
||||
|
||||
// tell everyone that it's dead
|
||||
bp->set_alive(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user