From: z411 Date: Mon, 2 Aug 2021 17:49:33 +0000 (-0400) Subject: Fixing vortex hitsound X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e69fdf88f8c31c478b2a176ce345843cbc1c2f4d;p=xonotic%2Fxonotic-data.pk3dir.git Fixing vortex hitsound --- diff --git a/qcsrc/common/weapons/weapon/vortex.qc b/qcsrc/common/weapons/weapon/vortex.qc index cea974854..de91d8eef 100644 --- a/qcsrc/common/weapons/weapon/vortex.qc +++ b/qcsrc/common/weapons/weapon/vortex.qc @@ -143,7 +143,7 @@ void W_Vortex_Attack(Weapon thiswep, entity actor, .entity weaponentity, float i if(yoda && flying) { if(charge == 1) // play additional sound if we hit in the air with maximum damage - sound(NULL, CH_INFO, SND_MIDAIR, VOL_BASE, ATTN_NONE); + sound(actor, CH_INFO, SND_MIDAIR, VOL_BASE, ATTN_NONE); Give_Medal(actor, YODA); }