From e69fdf88f8c31c478b2a176ce345843cbc1c2f4d Mon Sep 17 00:00:00 2001 From: z411 Date: Mon, 2 Aug 2021 13:49:33 -0400 Subject: [PATCH] Fixing vortex hitsound --- qcsrc/common/weapons/weapon/vortex.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.2