]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/weapon/rifle.qc
Merge branch 'master' into TimePath/notifications
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / weapon / rifle.qc
index d7df010f53fa1f1124aa239df59217c6a3f7e281..c0734d77dd87b235902d94a1d15901f029873390 100644 (file)
@@ -216,11 +216,11 @@ METHOD(Rifle, wr_reload, void(entity thiswep, entity actor, .entity weaponentity
 {
     W_Reload(self, min(WEP_CVAR_PRI(rifle, ammo), WEP_CVAR_SEC(rifle, ammo)), SND(RELOAD));
 }
-METHOD(Rifle, wr_suicidemessage, int(entity thiswep))
+METHOD(Rifle, wr_suicidemessage, Notification(entity thiswep))
 {
     return WEAPON_THINKING_WITH_PORTALS;
 }
-METHOD(Rifle, wr_killmessage, int(entity thiswep))
+METHOD(Rifle, wr_killmessage, Notification(entity thiswep))
 {
     if(w_deathtype & HITTYPE_SECONDARY)
     {