Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10588 in orxonox.OLD for branches/cleanup/src/world_entities/npcs


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/npcs/npc.cc

    r10583 r10588  
    152152  if( this->entityTrack)
    153153  {
    154 /*      this->setParent(this->entityTrack->getTrackNode());*/
     154      this->setParent(this->entityTrack->getTrackNode());
    155155      this->setRelCoor(0,0,0);
    156156  }
     
    426426  this->bFire = false;
    427427
    428 // if(this->entityTrack)
    429 //     this->entityTrack->tick(dt);
     428 if(this->entityTrack)
     429    this->entityTrack->tick(dt);
    430430
    431431}
     
    433433void NPC::draw() const
    434434{
    435 // if( this->entityTrack != NULL && this->isDrawTrack())
    436 //   this->entityTrack->drawGraph();
     435 if( this->entityTrack != NULL && this->isDrawTrack())
     436  this->entityTrack->drawGraph();
    437437
    438438 WorldEntity::draw();
Note: See TracChangeset for help on using the changeset viewer.