reset birth timer on clear_to_initial

This commit is contained in:
Josh Wilson 2006-04-23 23:53:06 +00:00
parent eea0bf839e
commit 3699395250
1 changed files with 1 additions and 4 deletions

View File

@ -53,16 +53,13 @@ clear_to_initial() {
BaseParticle *bp;
int i;
//int particle_pool_size = _particle_pool_size;
//resize_pool(0);
//resize_pool(particle_pool_size);
for(i = 0; i < (int)_physics_objects.size(); i++) {
bp = (BaseParticle *)_physics_objects[i].p();
if(bp->get_alive()) {
kill_particle(i);
}
}
_tics_since_birth = 0.0f;
}
//// ///////////////////////////////////////////////////////