]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Merge remote-tracking branch 'origin/fruitiex/disable-shootanim'
authorRudolf Polzer <divverent@alientrap.org>
Sat, 14 May 2011 12:33:46 +0000 (14:33 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 14 May 2011 12:33:46 +0000 (14:33 +0200)
qcsrc/server/cl_weapons.qc
qcsrc/server/cl_weaponsystem.qc

index ace69efbec371611a95e109a4e4fe90002468253..cab6ec6e75c5adcb56a8d7b07b417875a2a251c6 100644 (file)
@@ -348,7 +348,7 @@ void W_WeaponFrame()
        {
                if (self.weaponentity.state == WS_CLEAR)
                {
-                       setanim(self, self.anim_draw, FALSE, TRUE, TRUE);
+                       //setanim(self, self.anim_draw, FALSE, TRUE, TRUE);
                        self.weaponentity.state = WS_RAISE;
                        weapon_action(self.switchweapon, WR_SETUP);
 
index 08b1ec3ba38aeeb4229e23ab0e7b94f1e201322d..4233e7d92d755b7651a60362f27080c192e888c7 100644 (file)
@@ -1257,6 +1257,8 @@ void weapon_thinkf(float fr, float t, void() func)
        self.weapon_think = func;
        //dprint("next ", ftos(self.weapon_nextthink), "\n");
 
+    // The shoot animation looks TERRIBLE without animation blending! Yay for moonwalking while shooting!
+    /*
        if (restartanim)
        if (t)
        if (!self.crouch) // shoot anim stands up, this looks bad
@@ -1269,6 +1271,7 @@ void weapon_thinkf(float fr, float t, void() func)
                anim_z = anim_y / (t + sys_frametime);
                setanim(self, anim, FALSE, TRUE, TRUE);
        }
+    */
 };
 
 void weapon_boblayer1(float spd, vector org)