Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 4, 2006, 3:20:20 PM (18 years ago)
Author:
patrick
Message:

md2 walk functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/npcs/generic_npc.cc

    r9110 r9142  
    217217      case Walk:
    218218      {
    219         if( this->getAnimation() != RUN)
    220           this->setAnimation(RUN, MD2_ANIM_LOOP);
     219        if( this->getAnimation() != WALK)
     220          this->setAnimation(WALK, MD2_ANIM_LOOP);
    221221
    222222        Vector dir = (currentAnimation.v - this->getAbsCoor());
     
    289289      case Walk:
    290290      {
    291         if( this->getAnimation() != RUN)
    292           this->setAnimation(RUN, MD2_ANIM_LOOP);
     291        if( this->getAnimation() != WALK)
     292          this->setAnimation(WALK, MD2_ANIM_LOOP);
    293293
    294294
Note: See TracChangeset for help on using the changeset viewer.