Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 21, 2006, 8:52:20 PM (18 years ago)
Author:
patrick
Message:

bsp: fps player added, woking on it

Location:
branches/bsp_model/src/world_entities/creatures
Files:
2 added
1 edited

Legend:

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

    r8524 r8685  
    262262  else if( this->bFire && likely(this->getModel(0) != NULL))
    263263  {
    264     if( ((MD2Model*)this->getModel(0))->getAnim() != ATTACK)
     264    if( ((MD2Model*)this->getModel(0))->getAnimation() != ATTACK)
    265265      ((MD2Model*)this->getModel(0))->setAnimation(ATTACK);
    266266  }
    267267  else if( fabs(move.len()) > 0.0f && likely(this->getModel(0) != NULL))
    268268  {
    269     if( ((MD2Model*)this->getModel(0))->getAnim() != RUN)
     269    if( ((MD2Model*)this->getModel(0))->getAnimation() != RUN)
    270270      ((MD2Model*)this->getModel(0))->setAnimation(RUN);
    271271  }
    272272  else if (likely(this->getModel(0) != NULL))
    273273  {
    274     if( ((MD2Model*)this->getModel(0))->getAnim() != STAND)
     274    if( ((MD2Model*)this->getModel(0))->getAnimation() != STAND)
    275275      ((MD2Model*)this->getModel(0))->setAnimation(STAND);
    276276  }
Note: See TracChangeset for help on using the changeset viewer.