Updated to use new 'index' field of BaseParticle.
This commit is contained in:
parent
8c4ba1acd2
commit
5ece0deebf
|
|
@ -70,6 +70,7 @@ populate_particle(BaseParticle *bp) {
|
|||
bp->set_active(false);
|
||||
bp->set_alive(false);
|
||||
bp->set_age(0.0f);
|
||||
bp->set_index(0);
|
||||
|
||||
populate_child_particle(bp);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue