Changeset 10071 in orxonox.OLD for branches/ai/src/world_entities
- Timestamp:
- Dec 13, 2006, 6:59:23 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ai/src/world_entities/npcs/npc_test.cc
r10045 r10071 61 61 { 62 62 // animating the md2 model 63 if( likely(this->getModel(0) != NULL))63 if( likely(this->getModel(0) != NULL) && this->getModel(0)->isA(MD2Model::staticClassID())) 64 64 ((MD2Model*)this->getModel(0))->tick(dt); 65 65 }
Note: See TracChangeset
for help on using the changeset viewer.