Changeset 8693 in orxonox.OLD for branches/bsp_model/src/world_entities/creatures
- Timestamp:
- Jun 21, 2006, 11:33:10 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/world_entities/creatures/fps_player.cc
r8687 r8693 104 104 105 105 // collision reaction registration 106 //this->subscribeReaction(CREngine::CR_PHYSICS_GROUND_WALK, CL_BSP_ENTITY);106 this->subscribeReaction(CREngine::CR_PHYSICS_GROUND_WALK, CL_BSP_ENTITY); 107 107 } 108 108 … … 210 210 211 211 212 //if( likely(this->getModel(0) != NULL) && this->getModel(0)->isA(CL_INTERACTIVE_MODEL))213 //{214 //((InteractiveModel*)this->getModel(0))->tick(time);212 if( likely(this->getModel(0) != NULL) && this->getModel(0)->isA(CL_INTERACTIVE_MODEL)) 213 { 214 ((InteractiveModel*)this->getModel(0))->tick(time); 215 215 // 216 216 // // handle animations differently … … 234 234 // ((InteractiveModel*)this->getModel(0))->setAnimation(STAND); 235 235 // } 236 //}236 } 237 237 238 238 } … … 246 246 { 247 247 // only draw if this entity is not the player since the player nevers sees himself 248 if( this->getCurrentPlayer() == NULL)248 // if( this->getCurrentPlayer() == NULL) 249 249 WorldEntity::draw(); 250 250 }
Note: See TracChangeset
for help on using the changeset viewer.