Changeset 6176 in orxonox.OLD for branches/christmas_branche
- Timestamp:
- Dec 20, 2005, 2:51:53 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/christmas_branche/src/world_entities/creatures/md2_creature.cc
r6175 r6176 238 238 void MD2Creature::draw () const 239 239 { 240 if( likely(this->models[0] != NULL)) 241 ((MD2Model*)this->models[0])->draw(); 242 243 //this->getWeaponManager()->draw(); 240 this->drawLODsafe(); 244 241 } 245 242 … … 251 248 { 252 249 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); 255 252 256 253
Note: See TracChangeset
for help on using the changeset viewer.