]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
these seem useless
authorMartin Taibr <taibr.martin@gmail.com>
Wed, 14 Nov 2018 15:05:22 +0000 (16:05 +0100)
committerMartin Taibr <taibr.martin@gmail.com>
Wed, 14 Nov 2018 15:05:22 +0000 (16:05 +0100)
qcsrc/server/weapons/weaponsystem.qc

index d791fc798e3056c1eb8dd6c5931561f4b282871e..7e1842c63db596d9681a8d81ddd29e95843d2a2f 100644 (file)
@@ -373,10 +373,6 @@ void weapon_thinkf(entity actor, .entity weaponentity, WFRAME fr, float t, void(
                restartanim = fr != WFRAME_IDLE;
        }
 
-       vector of = v_forward;
-       vector or = v_right;
-       vector ou = v_up;
-
        vector a = '0 0 0';
     this.wframe = fr;
     if (fr == WFRAME_IDLE) a = this.anim_idle;
@@ -386,10 +382,6 @@ void weapon_thinkf(entity actor, .entity weaponentity, WFRAME fr, float t, void(
         a = this.anim_reload;
     a.z *= g_weaponratefactor;
 
-       v_forward = of;
-       v_right = or;
-       v_up = ou;
-
        if (this.weapon_think == w_ready && func != w_ready && this.state == WS_RAISE) backtrace(
                        "Tried to override initial weapon think function - should this really happen?");