From: Martin Taibr Date: Wed, 14 Nov 2018 15:05:22 +0000 (+0100) Subject: these seem useless X-Git-Tag: xonotic-v0.8.5~1258^2~35 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=772949b53d5c4d71cebb8793589dc6e1686bb4e2;p=xonotic%2Fxonotic-data.pk3dir.git these seem useless --- diff --git a/qcsrc/server/weapons/weaponsystem.qc b/qcsrc/server/weapons/weaponsystem.qc index d791fc798..7e1842c63 100644 --- a/qcsrc/server/weapons/weaponsystem.qc +++ b/qcsrc/server/weapons/weaponsystem.qc @@ -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?");