Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 19, 2006, 8:01:08 AM (18 years ago)
Author:
snellen
Message:

aim.cc updated

File:
1 edited

Legend:

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

    r6606 r6614  
    9898  this->target = new Aim(this);
    9999  this->target->setVisibility(false);
     100  this->target->setRange(100);
     101  this->target->setAngle(M_PI);
    100102}
    101103
     
    130132  this->setAbsDirSoft(quat, 5);
    131133
    132   this->target->searchTarget(100,M_PI_2);
     134  this->target->tick(dt);
    133135}
    134136
     
    146148  pj->setAbsDir(this->getAbsDir());
    147149  pj->activate();
    148   this->target->searchTarget(100,M_PI_2);
     150  this->target->searchTarget();
    149151}
    150152
Note: See TracChangeset for help on using the changeset viewer.