Changeset 10588 in orxonox.OLD for branches/cleanup/src/world_entities/npcs
- Timestamp:
- Feb 13, 2007, 3:36:20 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cleanup/src/world_entities/npcs/npc.cc
r10583 r10588 152 152 if( this->entityTrack) 153 153 { 154 /* this->setParent(this->entityTrack->getTrackNode());*/ 154 this->setParent(this->entityTrack->getTrackNode()); 155 155 this->setRelCoor(0,0,0); 156 156 } … … 426 426 this->bFire = false; 427 427 428 //if(this->entityTrack)429 //this->entityTrack->tick(dt);428 if(this->entityTrack) 429 this->entityTrack->tick(dt); 430 430 431 431 } … … 433 433 void NPC::draw() const 434 434 { 435 //if( this->entityTrack != NULL && this->isDrawTrack())436 //this->entityTrack->drawGraph();435 if( this->entityTrack != NULL && this->isDrawTrack()) 436 this->entityTrack->drawGraph(); 437 437 438 438 WorldEntity::draw();
Note: See TracChangeset
for help on using the changeset viewer.