]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove debug code
authorMartin Taibr <taibr.martin@gmail.com>
Wed, 4 Jul 2018 08:25:50 +0000 (10:25 +0200)
committerMartin Taibr <taibr.martin@gmail.com>
Wed, 4 Jul 2018 10:02:53 +0000 (12:02 +0200)
qcsrc/server/weapons/tracing.qc

index 0216a76234c2a6e1ab60bbe1dc8e7a37cdaa235f..0cf1472c8c16b610ac737282235aa569d1ecc8d7 100644 (file)
@@ -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;