]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fixing vortex hitsound
authorz411 <z411@omaera.org>
Mon, 2 Aug 2021 17:49:33 +0000 (13:49 -0400)
committerz411 <z411@omaera.org>
Mon, 2 Aug 2021 17:49:33 +0000 (13:49 -0400)
qcsrc/common/weapons/weapon/vortex.qc

index cea974854a07f4409573da73905170901a3ebf3e..de91d8eef6b50a58ffba2d49179de56c12a0a7aa 100644 (file)
@@ -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);
        }