Changeset 6693 in orxonox.OLD for branches/network/src/lib/particles/model_particles.cc
- Timestamp:
- Jan 25, 2006, 2:19:46 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/particles/model_particles.cc
r6629 r6693 61 61 */ 62 62 ModelParticles::~ModelParticles() 63 { 64 // deleting all the living Particles 65 while (this->particles) 66 { 67 Particle* tmpDelPart = this->particles; 68 this->particles = this->particles->next; 69 delete tmpDelPart; 70 } 71 72 // deleting all the dead particles 73 while (this->deadList) 74 { 75 Particle* tmpDelPart = this->deadList; 76 this->deadList = this->deadList->next; 77 delete tmpDelPart; 78 } 79 } 63 { } 80 64 81 65 /**
Note: See TracChangeset
for help on using the changeset viewer.