Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 4, 2006, 6:15:10 PM (18 years ago)
Author:
rennerc
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/world_entity.cc

    r9122 r9162  
    750750  else
    751751  {
    752     this->destroy();
    753 
    754     if( State::getGameRules() != NULL)
    755       State::getGameRules()->registerKill(Kill(killer, this));
     752    this->destroy( killer );
    756753  }
    757754}
     
    761758 * destoys the world entity
    762759 */
    763 void WorldEntity::destroy()
     760void WorldEntity::destroy(WorldEntity* killer)
    764761{
    765762  this->toList(OM_DEAD);
Note: See TracChangeset for help on using the changeset viewer.