Changeset 10261 in orxonox.OLD for branches/playability/src/world_entities/weapons
- Timestamp:
- Jan 17, 2007, 4:14:41 PM (18 years ago)
- Location:
- branches/playability/src/world_entities/weapons
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/weapons/heavy_blaster.cc
r10260 r10261 37 37 for (int i = 0; i < this->getBarrels(); i++) 38 38 { 39 delete [] this->shootAnim[i]; 40 delete [] this->objComp[i]; 41 } 42 delete [] this->emissionPoint; 43 44 delete [] this->shootAnim; 45 delete [] this->objComp; 46 /* 39 47 for(int j = 0; j < this->getSegs(); j++) 40 48 { … … 45 53 delete this->objComp[i]; 46 54 delete this->emissionPoint[i]; 47 } 48 49 // 55 }*/ 56 57 // this->deconstr(); 50 58 // model will be deleted from WorldEntity-destructor 51 59 } -
branches/playability/src/world_entities/weapons/light_blaster.cc
r10170 r10261 34 34 LightBlaster::~LightBlaster() 35 35 { 36 36 37 for (int i = 0; i < this->getBarrels(); i++) 37 38 { 39 delete [] this->shootAnim[i]; 40 delete [] this->objComp[i]; 41 } 42 delete [] this->emissionPoint; 43 delete [] this->shootAnim; 44 delete [] this->objComp; 45 /* 38 46 for(int j = 0; j < this->getSegs(); j++) 39 47 { … … 44 52 delete this->objComp[i]; 45 53 delete this->emissionPoint[i]; 46 } 54 }*/ 47 55 48 this->deconstr();56 // this->deconstr(); 49 57 // model will be deleted from WorldEntity-destructor 50 58 }
Note: See TracChangeset
for help on using the changeset viewer.