From: Martin Taibr Date: Wed, 4 Jul 2018 08:25:50 +0000 (+0200) Subject: Remove debug code X-Git-Tag: xonotic-v0.8.5~1797^2~1^2~5 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e89c2df58ef5b126eec4185475d3a4c5048cce09;p=xonotic%2Fxonotic-data.pk3dir.git Remove debug code --- diff --git a/qcsrc/server/weapons/tracing.qc b/qcsrc/server/weapons/tracing.qc index 0216a7623..0cf1472c8 100644 --- a/qcsrc/server/weapons/tracing.qc +++ b/qcsrc/server/weapons/tracing.qc @@ -345,17 +345,6 @@ void fireBullet(entity this, .entity weaponentity, vector start, vector dir, flo end = start + dir * max_shot_distance; fireBullet_last_hit = NULL; - - if (autocvar_eff == 1) { - tracer_effects = EFFECT_RIFLE; - } else if (autocvar_eff == 2) { - tracer_effects = EFFECT_RIFLE_WEAK; - } else if (autocvar_eff == 3) { - tracer_effects = EFFECT_BULLET; - } else if (autocvar_eff == 4) { - tracer_effects = EFFECT_BULLET_WEAK; - } - fireBullet_trace_callback_eff = tracer_effects; float solid_penetration_left = 1;