// do the damage pev->health -= flDamage; if (pev->health <= 0) { Killed( pevAttacker, GIB_NORMAL ); Die(); return 0; }