#include "sv_damagetext.qh"
-#include <common/mutators/mutator/instagib/sv_instagib.qh>
-
AUTOCVAR(sv_damagetext, int, 2, "<= 0: disabled, >= 1: visible to spectators, >= 2: visible to attacker, >= 3: all players see everyone's damage");
REGISTER_MUTATOR(damagetext, true);
float armor = M_ARGV(3, float);
int deathtype = M_ARGV(5, int);
float potential_damage = M_ARGV(6, float);
- if(autocvar_g_instagib && DEATH_WEAPONOF(deathtype) == WEP_VAPORIZER) return;
+ if(MUTATOR_IS_ENABLED(mutator_instagib) && DEATH_WEAPONOF(deathtype) == WEP_VAPORIZER) return;
static entity net_text_prev;
static float net_damagetext_prev_time;