Changeset 9162 in orxonox.OLD for branches/presentation/src/world_entities/world_entity.cc
- Timestamp:
- Jul 4, 2006, 6:15:10 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/world_entity.cc
r9122 r9162 750 750 else 751 751 { 752 this->destroy(); 753 754 if( State::getGameRules() != NULL) 755 State::getGameRules()->registerKill(Kill(killer, this)); 752 this->destroy( killer ); 756 753 } 757 754 } … … 761 758 * destoys the world entity 762 759 */ 763 void WorldEntity::destroy( )760 void WorldEntity::destroy(WorldEntity* killer) 764 761 { 765 762 this->toList(OM_DEAD);
Note: See TracChangeset
for help on using the changeset viewer.