X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fweapons%2Fweapon%2Fmortar.qc;h=08b79bb2687b0363658ed82e11b41d0186fe8376;hb=7fed93ee24b18a92cefd7435078585bc5ba8e852;hp=b361a505091adad8c4ee0ee2e23b1f470d72bca4;hpb=724a41faf2cbfd86d41f3ab59ff8326a831a8326;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/weapons/weapon/mortar.qc b/qcsrc/common/weapons/weapon/mortar.qc index b361a5050..08b79bb26 100644 --- a/qcsrc/common/weapons/weapon/mortar.qc +++ b/qcsrc/common/weapons/weapon/mortar.qc @@ -387,14 +387,14 @@ void W_Mortar_Attack2(Weapon thiswep) { W_Reload(self, min(WEP_CVAR_PRI(mortar, ammo), WEP_CVAR_SEC(mortar, ammo)), SND(RELOAD)); // WEAPONTODO } - METHOD(Mortar, wr_suicidemessage, int(entity thiswep)) + METHOD(Mortar, wr_suicidemessage, Notification(entity thiswep)) { if(w_deathtype & HITTYPE_SECONDARY) return WEAPON_MORTAR_SUICIDE_BOUNCE; else return WEAPON_MORTAR_SUICIDE_EXPLODE; } - METHOD(Mortar, wr_killmessage, int(entity thiswep)) + METHOD(Mortar, wr_killmessage, Notification(entity thiswep)) { if(w_deathtype & HITTYPE_SECONDARY) return WEAPON_MORTAR_MURDER_BOUNCE;