frag_attacker.health += bound(0, damage_take, frag_target.health);
frag_attacker.health = bound(0, frag_attacker.health, autocvar_g_balance_health_limit);
}
-
- return false;
}
MUTATOR_HOOKFUNCTION(vampire, BuildMutatorsString)
{
- ret_string = strcat(ret_string, ":Vampire");
- return 0;
+ M_ARGV(0, string) = strcat(M_ARGV(0, string), ":Vampire");
}
MUTATOR_HOOKFUNCTION(vampire, BuildMutatorsPrettyString)
{
- ret_string = strcat(ret_string, ", Vampire");
- return 0;
+ M_ARGV(0, string) = strcat(M_ARGV(0, string), ", Vampire");
}
#endif