Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6176 in orxonox.OLD for branches/christmas_branche


Ignore:
Timestamp:
Dec 20, 2005, 2:51:53 AM (19 years ago)
Author:
patrick
Message:

christmas: the md2_creature now draws the way it should

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/christmas_branche/src/world_entities/creatures/md2_creature.cc

    r6175 r6176  
    238238void MD2Creature::draw () const
    239239{
    240   if( likely(this->models[0] != NULL))
    241     ((MD2Model*)this->models[0])->draw();
    242 
    243   //this->getWeaponManager()->draw();
     240  this->drawLODsafe();
    244241}
    245242
     
    251248{
    252249
    253   if( likely(this->models[0] != NULL))
    254      ((MD2Model*)this->models[0])->tick(time);
     250  if( likely(this->getModel(0) != NULL))
     251    ((MD2Model*)this->getModel(0))->tick(time);
    255252
    256253
Note: See TracChangeset for help on using the changeset viewer.