int CASW_Harvester::SelectDeadSchedule() { // Adrian - Alread dead (by animation event maybe?) // Is it safe to set it to SCHED_NONE? if ( m_lifeState == LIFE_DEAD ) return SCHED_NONE; CleanupOnDeath(); return SCHED_DIE; }
//----------------------------------------------------------------------------- // Purpose: // Input: // Output: //----------------------------------------------------------------------------- int CASW_Boomer::SelectDeadSchedule() { if ( m_lifeState == LIFE_DEAD ) { return SCHED_NONE; } CleanupOnDeath(); return SCHED_DIE; }