Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 6, 2006, 1:11:02 PM (19 years ago)
Author:
nicolasc
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/projectiles/projectile.cc

    r9969 r10020  
    192192void Projectile::tick (float dt)
    193193{
    194   float tti;  //!< time to impact
     194  float tti = 0;  //!< time to impact
    195195  Vector estTargetDir = (this->target->getRelCoor() + this->target->getVelocity());
    196196  this->velocity = this->newDirection(this->velocity, estTargetDir, this->turningSpeed * dt ) * this->velocity.len();
Note: See TracChangeset for help on using the changeset viewer.