Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 29, 2007, 9:58:18 PM (17 years ago)
Author:
nicolasc
Message:

update "weapon points"
refined the RFCannon

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/vs-enhencements/src/world_entities/weapons/rf_cannon.cc

    r10641 r10644  
    5252RFCannon::~RFCannon()
    5353{
    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];
    5656
    57   delete [] this->emissionPoint;
    58   delete [] this->objComp;
     57//   delete [] this->emissionPoint;
     58//   delete [] this->objComp;
    5959}
    6060
     
    132132    pj->setParent(PNode::getNullParent());
    133133
    134     pj->setVelocity(this->getAbsDir().apply(Vector(0,1,0))*190);
     134    pj->setVelocity(this->getAbsDir().apply(Vector(1,0,0))*190);
    135135
    136136    pj->setAbsCoor(this->emissionPoint[this->activeBarrel]->getAbsCoor());
Note: See TracChangeset for help on using the changeset viewer.