Changeset 5063 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Aug 17, 2005, 1:18:13 AM (19 years ago)
- Location:
- orxonox/trunk/src/world_entities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/npc.cc
r5060 r5063 43 43 if (entity->isA(CL_PROJECTILE)) 44 44 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); 45 47 } 46 48 -
orxonox/trunk/src/world_entities/weapons/projectile.cc
r4979 r5063 38 38 39 39 this->lifeCycle = 0.0; 40 this->lifeSpan = 0.75f; /* sec */40 this->lifeSpan = 1.0f; /* sec */ 41 41 42 42 this->remove(); -
orxonox/trunk/src/world_entities/weapons/test_bullet.cc
r5057 r5063 43 43 this->energyMax = 10; 44 44 this->remove(); 45 this->lifeSpan = 5; 45 46 } 46 47
Note: See TracChangeset
for help on using the changeset viewer.