]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Disable the shoot animation until we have animation blending. It looks much better...
authorFruitieX <fruitiex@gmail.com>
Mon, 2 May 2011 17:17:05 +0000 (20:17 +0300)
committerFruitieX <fruitiex@gmail.com>
Mon, 2 May 2011 17:17:05 +0000 (20:17 +0300)
qcsrc/server/cl_weaponsystem.qc

index f9543785ba484588bb4e6d235cd1067d8537360d..7b257d203af98ed0d19d73fee8a9b833f6d76d2a 100644 (file)
@@ -1253,6 +1253,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
@@ -1262,6 +1264,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)
@@ -1734,4 +1737,4 @@ void W_Reload(float sent_ammo_min, float sent_ammo_amount, float sent_time, stri
                self.clip_load = 0;
        self.old_clip_load = self.clip_load;
        self.clip_load = self.weapon_load[self.weapon] = -1;
-}
\ No newline at end of file
+}