Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 17, 2007, 4:14:41 PM (19 years ago)
Author:
marcscha
Message:

Fixes and cleanups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/weapons/light_blaster.cc

    r10170 r10261  
    3434LightBlaster::~LightBlaster()
    3535{
     36
    3637  for (int i = 0; i < this->getBarrels(); i++)
    3738  {
     39   delete [] this->shootAnim[i];
     40   delete [] this->objComp[i];
     41  }
     42  delete [] this->emissionPoint;
     43   delete [] this->shootAnim;
     44   delete [] this->objComp;
     45/*
    3846    for(int j = 0; j < this->getSegs(); j++)
    3947    {
     
    4452    delete this->objComp[i];
    4553    delete this->emissionPoint[i];
    46   }
     54  }*/
    4755
    48   this->deconstr();
     56//  this->deconstr();
    4957      // model will be deleted from WorldEntity-destructor
    5058}
Note: See TracChangeset for help on using the changeset viewer.