Changeset 9065 in orxonox.OLD for branches/presentation/src/world_entities/npcs
- Timestamp:
- Jul 3, 2006, 7:22:44 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/npcs/generic_npc.cc
r9061 r9065 93 93 94 94 // collision reaction registration 95 //this->subscribeReaction(CREngine::CR_PHYSICS_GROUND_WALK, CL_BSP_ENTITY);95 this->subscribeReaction(CREngine::CR_PHYSICS_GROUND_WALK, CL_BSP_ENTITY); 96 96 } 97 97 … … 194 194 void GenericNPC::resume() 195 195 { 196 //if() 196 if( this->animationStack.size() == 0) 197 return; 198 197 199 delete this->behaviourList; 198 200 this->behaviourList = this->animationStack.top(); … … 518 520 { 519 521 Vector dest = currentAnimation.v - this->getAbsCoor(); 522 dest.y = 0.0f; 520 523 if (dest.len() < .5) 521 524 this->nextStep(); … … 530 533 { 531 534 Vector dest = currentAnimation.v - this->getAbsCoor(); 535 dest.y = 0.0f; 532 536 if (dest.len() < .5) 533 537 this->nextStep();
Note: See TracChangeset
for help on using the changeset viewer.