Changeset 9142 in orxonox.OLD for branches/presentation/src/world_entities
- Timestamp:
- Jul 4, 2006, 3:20:20 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/npcs/generic_npc.cc
r9110 r9142 217 217 case Walk: 218 218 { 219 if( this->getAnimation() != RUN)220 this->setAnimation( RUN, MD2_ANIM_LOOP);219 if( this->getAnimation() != WALK) 220 this->setAnimation(WALK, MD2_ANIM_LOOP); 221 221 222 222 Vector dir = (currentAnimation.v - this->getAbsCoor()); … … 289 289 case Walk: 290 290 { 291 if( this->getAnimation() != RUN)292 this->setAnimation( RUN, MD2_ANIM_LOOP);291 if( this->getAnimation() != WALK) 292 this->setAnimation(WALK, MD2_ANIM_LOOP); 293 293 294 294
Note: See TracChangeset
for help on using the changeset viewer.