Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 27, 2007, 7:09:52 PM (17 years ago)
Author:
nicolasc
Message:

minor improments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/cleanup/src/world_entities/projectiles/mbolt.cc

    r10545 r10603  
    8282  //this->trail->setParent( this);
    8383  this->trail->setTexture( "textures/laser.png");
    84   this->trail->setAbsCoor(this->getAbsCoor() - Vector(.7,0,0));
     84//   this->trail->setAbsCoor(this->getAbsCoor() - Vector(.7,0,0));
     85  this->trail->setAbsCoor(this->getAbsCoor() - this->getVelocity().getNormalized() * .7);
    8586
    8687}
Note: See TracChangeset for help on using the changeset viewer.