Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

walk removed

File:
1 edited

Legend:

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

    r9142 r9145  
    207207 * each animation has to be initialized here
    208208 */
     209/**
     210 *
     211 */
    209212void GenericNPC::initNPC()
    210213{
     
    217220      case Walk:
    218221      {
    219         if( this->getAnimation() != WALK)
    220           this->setAnimation(WALK, MD2_ANIM_LOOP);
     222        if( this->getAnimation() != RUN)
     223          this->setAnimation(RUN, MD2_ANIM_LOOP);
    221224
    222225        Vector dir = (currentAnimation.v - this->getAbsCoor());
     
    289292      case Walk:
    290293      {
    291         if( this->getAnimation() != WALK)
    292           this->setAnimation(WALK, MD2_ANIM_LOOP);
     294        if( this->getAnimation() != RUN)
     295          this->setAnimation(RUN, MD2_ANIM_LOOP);
    293296
    294297
Note: See TracChangeset for help on using the changeset viewer.