Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 21, 2006, 11:33:10 PM (18 years ago)
Author:
patrick
Message:

branches: added new branche terrain copy of trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/bsp_model/src/world_entities/creatures/fps_player.cc

    r8687 r8693  
    104104
    105105  // 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);
    107107}
    108108
     
    210210
    211211
    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);
    215215//
    216216//     // handle animations differently
     
    234234//         ((InteractiveModel*)this->getModel(0))->setAnimation(STAND);
    235235//     }
    236 //   }
     236  }
    237237
    238238}
     
    246246{
    247247  // 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)
    249249    WorldEntity::draw();
    250250}
Note: See TracChangeset for help on using the changeset viewer.