// rgb = e.glowmod;
rgb *= (1 + autocvar_cl_vaporizerbeam_colorboost);
- float fail = (self.nextthink - time);
+ float fail = (this.nextthink - time);
Draw_VaporizerBeam_trace_callback_tex = tex;
Draw_VaporizerBeam_trace_callback_rnd = 0;
if(other.takedamage == DAMAGE_AIM)
if(IS_PLAYER(other))
if(DIFF_TEAM(self.realowner, other))
- if(other.deadflag == DEAD_NO)
+ if(!IS_DEAD(other))
if(IsFlying(other))
Send_Notification(NOTIF_ONE, self.realowner, MSG_ANNCE, ANNCE_ACHIEVEMENT_ELECTROBITCH);
W_Reload(self, used_ammo, SND(RELOAD));
}
- METHOD(Vaporizer, wr_suicidemessage, int(entity thiswep))
+ METHOD(Vaporizer, wr_suicidemessage, Notification(entity thiswep))
{
return WEAPON_THINKING_WITH_PORTALS;
}
- METHOD(Vaporizer, wr_killmessage, int(entity thiswep))
+ METHOD(Vaporizer, wr_killmessage, Notification(entity thiswep))
{
return WEAPON_VAPORIZER_MURDER;
}