From: FruitieX Date: Tue, 20 Jul 2010 00:36:06 +0000 (+0300) Subject: new lg beam, and use CHAN_WEAPON. However now the secondary stops the lightning fire... X-Git-Tag: xonotic-v0.1.0preview~423^2~26^2~21 X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=45a7a01f29205a2f89fd2c5a013220ebf68564db new lg beam, and use CHAN_WEAPON. However now the secondary stops the lightning fire sound :/ --- diff --git a/particles/lgbeam.tga b/particles/lgbeam.tga index cb9a696265..331f2a8ed0 100644 Binary files a/particles/lgbeam.tga and b/particles/lgbeam.tga differ diff --git a/qcsrc/server/w_electro.qc b/qcsrc/server/w_electro.qc index 2ee2b29455..4eadbac21d 100644 --- a/qcsrc/server/w_electro.qc +++ b/qcsrc/server/w_electro.qc @@ -245,7 +245,7 @@ void W_Electro_Attack3 (void) // only play fire sound if 0.5 sec has passed since player let go the fire button if(time - self.prevlgfire > 0.5) { - sound (self, CHAN_PROJECTILE, "weapons/lgbeam_fire.wav", VOL_BASE, ATTN_NORM); + sound (self, CHAN_WEAPON, "weapons/lgbeam_fire.wav", VOL_BASE, ATTN_NORM); } entity beam, oldself;