Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5063 in orxonox.OLD for orxonox/trunk/src/world_entities/npc.cc


Ignore:
Timestamp:
Aug 17, 2005, 1:18:13 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: NPC's get killed :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/npc.cc

    r5060 r5063  
    4343  if (entity->isA(CL_PROJECTILE))
    4444    PRINTF(0)("collision %s vs %s @ (%f,%f,%f)\n", this->getName(), entity->getName(), location.x, location.y, location.z);
     45  this->setVisibiliy(false);
     46  //State::getWorldEntityList()->remove(this);
    4547}
    4648
Note: See TracChangeset for help on using the changeset viewer.