Changeset 10644 in orxonox.OLD for branches/vs-enhencements/src/world_entities/weapons/rf_cannon.cc
- Timestamp:
- Apr 29, 2007, 9:58:18 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/vs-enhencements/src/world_entities/weapons/rf_cannon.cc
r10641 r10644 52 52 RFCannon::~RFCannon() 53 53 { 54 for (int i = 0; i < this->getBarrels(); i++)55 delete [] this->objComp[i];54 // for (int i = 0; i < this->getBarrels(); i++) 55 // delete [] this->objComp[i]; 56 56 57 delete [] this->emissionPoint;58 delete [] this->objComp;57 // delete [] this->emissionPoint; 58 // delete [] this->objComp; 59 59 } 60 60 … … 132 132 pj->setParent(PNode::getNullParent()); 133 133 134 pj->setVelocity(this->getAbsDir().apply(Vector( 0,1,0))*190);134 pj->setVelocity(this->getAbsDir().apply(Vector(1,0,0))*190); 135 135 136 136 pj->setAbsCoor(this->emissionPoint[this->activeBarrel]->getAbsCoor());
Note: See TracChangeset
for help on using the changeset viewer.