- Timestamp:
- Jan 28, 2007, 3:24:19 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/npcs/npc.cc
r10443 r10444 64 64 this->loadParams(root); 65 65 66 if( this->bAIEnabled )66 if( this->bAIEnabled && ! this->entityTrack) 67 67 { 68 68 std::cout << "Team Number: " << teamNumber << "\n"; 69 69 std::cout << "Swarm Number:" << swarmNumber << "\n"; 70 70 71 if( this->entityTrack) 71 AIEngine::getInstance()->addAI(teamNumber,swarmNumber,(WorldEntity*)this,maxSpeed,attackDistance); 72 } 73 74 this->bFire = false; 75 if( this->entityTrack) 72 76 this->setParent(this->entityTrack->getTrackNode()); 73 else74 AIEngine::getInstance()->addAI(teamNumber,swarmNumber,(WorldEntity*)this,maxSpeed,attackDistance);75 }76 77 this->bFire = false;78 77 79 78
Note: See TracChangeset
for help on using the changeset viewer.