Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 13, 2007, 3:36:20 PM (18 years ago)
Author:
bensch
Message:

removed track manager and reinjected the Track

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/cleanup/src/world_entities/space_ships/space_ship.cc

    r10583 r10588  
    493493void SpaceShip::draw () const
    494494{
    495 //   if( this->entityTrack != NULL && this->isDrawTrack())
    496 //     this->entityTrack->drawGraph();
     495  if( this->entityTrack != NULL && this->isDrawTrack())
     496    this->entityTrack->drawGraph();
    497497
    498498  WorldEntity::draw();
     
    550550
    551551  // Tracktick
    552 //   if(this->entityTrack)
    553 //     this->entityTrack->tick(time);
     552  if(this->entityTrack)
     553    this->entityTrack->tick(time);
    554554
    555555
     
    867867        this->isTravelDistanceInit = false;
    868868
    869 //         if(this->entityTrack)
    870 //            this->travelNode->setParent(this->entityTrack->getTrackNode());
     869        if(this->entityTrack)
     870           this->travelNode->setParent(this->entityTrack->getTrackNode());
    871871
    872872        this->setParent(this->travelNode);
Note: See TracChangeset for help on using the changeset viewer.