Changeset 8685 in orxonox.OLD for branches/bsp_model/src/world_entities/creatures
- Timestamp:
- Jun 21, 2006, 8:52:20 PM (18 years ago)
- 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 262 262 else if( this->bFire && likely(this->getModel(0) != NULL)) 263 263 { 264 if( ((MD2Model*)this->getModel(0))->getAnim () != ATTACK)264 if( ((MD2Model*)this->getModel(0))->getAnimation() != ATTACK) 265 265 ((MD2Model*)this->getModel(0))->setAnimation(ATTACK); 266 266 } 267 267 else if( fabs(move.len()) > 0.0f && likely(this->getModel(0) != NULL)) 268 268 { 269 if( ((MD2Model*)this->getModel(0))->getAnim () != RUN)269 if( ((MD2Model*)this->getModel(0))->getAnimation() != RUN) 270 270 ((MD2Model*)this->getModel(0))->setAnimation(RUN); 271 271 } 272 272 else if (likely(this->getModel(0) != NULL)) 273 273 { 274 if( ((MD2Model*)this->getModel(0))->getAnim () != STAND)274 if( ((MD2Model*)this->getModel(0))->getAnimation() != STAND) 275 275 ((MD2Model*)this->getModel(0))->setAnimation(STAND); 276 276 }
Note: See TracChangeset
for help on using the changeset viewer.