{
WaypointSprite_Kill(it.surv_attack_sprite);
}
+ if (it.surv_savedplayerstate)
+ {
+ delete(it.surv_savedplayerstate);
+ it.surv_savedplayerstate = NULL;
+ }
});
if (surv_type == SURVIVAL_TYPE_VERSUS)
{
}
else
{
- WaypointSprite_UpdateHealth(target.surv_attack_sprite,
- target.armorvalue + 1);
+ if (autocvar_g_instagib == 1)
+ {
+ WaypointSprite_UpdateHealth(target.surv_attack_sprite,
+ target.armorvalue + 1);
+ }
+ else
+ {
+ WaypointSprite_UpdateHealth(target.surv_attack_sprite,
+ target.health + target.armorvalue);
+ }
}
}