Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 13, 2006, 6:59:23 PM (17 years ago)
Author:
tfahrni
Message:

made some ai changes..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ai/src/world_entities/npcs/npc_test.cc

    r10045 r10071  
    6161{
    6262  // animating the md2 model
    63   if( likely(this->getModel(0) != NULL))
     63        if( likely(this->getModel(0) != NULL) && this->getModel(0)->isA(MD2Model::staticClassID()))
    6464    ((MD2Model*)this->getModel(0))->tick(dt);
    6565}
Note: See TracChangeset for help on using the changeset viewer.