From: Samual Lenks Date: Thu, 27 Feb 2014 03:48:41 +0000 (-0500) Subject: Precache the sound on the client as well X-Git-Tag: xonotic-v0.8.0~152^2~41 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=930dfc485a5de542601235edf603ec04e18f2d1b;p=xonotic%2Fxonotic-data.pk3dir.git Precache the sound on the client as well --- diff --git a/qcsrc/common/weapons/w_arc.qc b/qcsrc/common/weapons/w_arc.qc index 3039d3666..929fc5cca 100644 --- a/qcsrc/common/weapons/w_arc.qc +++ b/qcsrc/common/weapons/w_arc.qc @@ -106,7 +106,6 @@ void Ent_ReadArcBeam(float isnew); .float beam_returnspeed; .float beam_tightness; .vector beam_shotorigin; -.vector beam_dir; entity Draw_ArcBeam_callback_entity; vector Draw_ArcBeam_callback_new_dir; @@ -666,7 +665,6 @@ float W_Arc(float req) } #endif #ifdef CSQC - void Draw_ArcBeam_callback(vector start, vector hit, vector end) { entity beam = Draw_ArcBeam_callback_entity; @@ -1397,8 +1395,7 @@ float W_Arc(float req) } case WR_INIT: { - //precache_sound("weapons/arc_impact.wav"); - //precache_sound("weapons/arc_impact_combo.wav"); + precache_sound("weapons/lgbeam_fly.wav"); return TRUE; } case WR_ZOOMRETICLE: