Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6653 in orxonox.OLD for trunk/src/lib/particles/model_particles.cc


Ignore:
Timestamp:
Jan 22, 2006, 4:38:59 PM (18 years ago)
Author:
bensch
Message:

optimize

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/particles/model_particles.cc

    r6629 r6653  
    6161*/
    6262ModelParticles::~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{ }
    8064
    8165/**
Note: See TracChangeset for help on using the changeset viewer.