From: Rudolf Polzer Date: Tue, 26 Oct 2010 18:11:38 +0000 (+0200) Subject: hide one warning X-Git-Tag: xonotic-v0.1.0preview~245^2~5 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=dffe38e62b74748ccabc68e884dc00298ba2cf0f;p=xonotic%2Fxonotic-data.pk3dir.git hide one warning --- diff --git a/qcsrc/warpzonelib/common.qc b/qcsrc/warpzonelib/common.qc index bc23cd11b..1ce560907 100644 --- a/qcsrc/warpzonelib/common.qc +++ b/qcsrc/warpzonelib/common.qc @@ -411,8 +411,6 @@ void WarpZone_TraceToss(entity e, entity forent) entity WarpZone_TrailParticles_trace_callback_own; float WarpZone_TrailParticles_trace_callback_eff; -float WarpZone_TrailParticles_trace_callback_f; -float WarpZone_TrailParticles_trace_callback_flags; void WarpZone_TrailParticles_trace_callback(vector from, vector endpos, vector to) { trailparticles(WarpZone_TrailParticles_trace_callback_own, WarpZone_TrailParticles_trace_callback_eff, from, endpos); @@ -426,6 +424,8 @@ void WarpZone_TrailParticles(entity own, float eff, vector org, vector end) } #ifdef CSQC +float WarpZone_TrailParticles_trace_callback_f; +float WarpZone_TrailParticles_trace_callback_flags; void WarpZone_TrailParticles_WithMultiplier_trace_callback(vector from, vector endpos, vector to) { boxparticles(WarpZone_TrailParticles_trace_callback_eff, WarpZone_TrailParticles_trace_callback_own, from, endpos, WarpZone_TrailParticles_trace_callback_own.velocity, WarpZone_TrailParticles_trace_callback_own.velocity, WarpZone_TrailParticles_trace_callback_f, WarpZone_TrailParticles_trace_callback_flags);