]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/weapon/machinegun.qc
Merge branch 'master' into TimePath/notifications
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / weapon / machinegun.qc
index 448195a98a3f046b948bf2b3eab92a0e05e260c8..1b1af4df45475c0c6615c91bbcab42072c840ca5 100644 (file)
@@ -338,11 +338,11 @@ METHOD(MachineGun, wr_reload, void(entity thiswep, entity actor, .entity weapone
 {
     W_Reload(self, min(max(WEP_CVAR(machinegun, sustained_ammo), WEP_CVAR(machinegun, first_ammo)), WEP_CVAR(machinegun, burst_ammo)), SND(RELOAD));
 }
-METHOD(MachineGun, wr_suicidemessage, int(entity thiswep))
+METHOD(MachineGun, wr_suicidemessage, Notification(entity thiswep))
 {
     return WEAPON_THINKING_WITH_PORTALS;
 }
-METHOD(MachineGun, wr_killmessage, int(entity thiswep))
+METHOD(MachineGun, wr_killmessage, Notification(entity thiswep))
 {
     if(w_deathtype & HITTYPE_SECONDARY)
         return WEAPON_MACHINEGUN_MURDER_SNIPE;