Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7053 in orxonox.OLD for trunk/src/world_entities


Ignore:
Timestamp:
Feb 6, 2006, 2:39:11 PM (19 years ago)
Author:
bensch
Message:

trunk: CreatureGetsHiddenIfNoPlayerIsInsideHACK

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/creatures/md2_creature.cc

    r7014 r7053  
    179179{
    180180  dynamic_cast<Element2D*>(this->getWeaponManager()->getFixedTarget())->setVisibility( true);
    181 
     181  this->attachCamera();
    182182
    183183}
     
    230230void MD2Creature::draw () const
    231231{
    232   WorldEntity::draw();
     232  if (this->getCurrentPlayer() != NULL)
     233    WorldEntity::draw();
    233234//  this->cameraConnNode.debugDraw(0);
    234235}
Note: See TracChangeset for help on using the changeset viewer.