Changeset 10170 in orxonox.OLD for branches/playability/src/world_entities/weapons/heavy_blaster.cc
- Timestamp:
- Jan 3, 2007, 4:44:17 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/weapons/heavy_blaster.cc
r10159 r10170 35 35 HeavyBlaster::~HeavyBlaster() 36 36 { 37 for (int i = 0; i < this->getBarrels(); i++) 38 { 39 for(int j = 0; j < this->getSegs(); j++) 40 { 41 delete this->shootAnim[i][j]; 42 delete this->objComp[i][j]; 43 } 44 delete this->shootAnim[i]; 45 delete this->objComp[i]; 46 delete this->emissionPoint[i]; 47 } 48 37 49 this->deconstr(); 38 50 // model will be deleted from WorldEntity-destructor … … 69 81 70 82 this->setCapability(WTYPE_ALLDIRS | WTYPE_DIRECTIONAL | WTYPE_LIGHT); 71 this->setProjectileTypeC("HBolt"); // FIXME temp project type until the blaste class exist 83 this->setProjectileTypeC("HBolt"); // FIXME temp project type until the blaste class exist 84 // this->setProjectileTypeC("SpikeBall"); // FIXME temp project type until the blaste class exist 72 85 this->prepareProjectiles(5); 73 86
Note: See TracChangeset
for help on using the changeset viewer.