Changeset 6142 in orxonox.OLD for trunk/src/world_entities/power_ups
- Timestamp:
- Dec 16, 2005, 7:13:57 PM (19 years ago)
- Location:
- trunk/src/world_entities/power_ups
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/power_ups/laser_power_up.cc
r6113 r6142 80 80 // PRINTF(3)("collision %s vs %s @ (%f,%f,%f)\n", this->getClassName(), entity->getClassName(), location.x, location.y, location.z); 81 81 if (entity->isA(CL_PLAYABLE)) 82 State::getWorldEntityList()->remove(this);82 this->toList(OM_DEAD); 83 83 } 84 84 -
trunk/src/world_entities/power_ups/power_up.cc
r6113 r6142 38 38 { 39 39 delete this->sphereMaterial; 40 this->toList(OM_COMMON); 40 41 } 41 42 -
trunk/src/world_entities/power_ups/turret_power_up.cc
r6113 r6142 80 80 // PRINTF(3)("collision %s vs %s @ (%f,%f,%f)\n", this->getClassName(), entity->getClassName(), location.x, location.y, location.z); 81 81 if (entity->isA(CL_PLAYABLE)) 82 State::getWorldEntityList()->remove(this);82 this->toList(OM_DEAD); 83 83 } 84 84
Note: See TracChangeset
for help on using the changeset viewer.