Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 25, 2006, 5:25:15 PM (18 years ago)
Author:
snellen
Message:

aim.cc updated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/spaceshipcontrol/src/world_entities/weapons/targeting_turret.cc

    r6671 r6723  
    9393  this->target->setVisibility(false);
    9494  this->target->setRange(100);
    95   this->target->setAngle(M_PI_4/2);
     95  this->target->setAngle(M_PI_4/16);
    9696  this->lockedTime = 0;
    9797  this->neededLockTime = 2;
     
    147147            /*target->getAbsCoor() - this->getAbsCoor()*/)*.5);//this->getVelocity());
    148148
    149   pj->setTarget(this->target->getParent());
     149  pj->setTarget(lockedTarget);
    150150  pj->setParent(PNode::getNullParent());
    151151  pj->setAbsCoor(this->getEmissionPoint());
    152152  pj->setAbsDir(this->getAbsDir());
    153153  pj->activate();
    154   this->target->searchTarget();
     154 
    155155}
    156156
Note: See TracChangeset for help on using the changeset viewer.