]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
animdecide: artificially extend shoot/melee actions
authorRudolf Polzer <divverent@xonotic.org>
Sun, 2 Dec 2012 11:41:42 +0000 (12:41 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Sun, 2 Dec 2012 11:41:42 +0000 (12:41 +0100)
qcsrc/common/animdecide.qc

index d3990252c17c2b61ba5aaec46afb88519a94c410..ce16c45fed705abcfca3089ab76551d069ef3ed2 100644 (file)
@@ -64,6 +64,10 @@ void animdecide_init(entity e)
        e.anim_duckwalkforwardleft = animfixfps(e, '28 1 1', '4 1 1');
        e.anim_duckwalkbackright = animfixfps(e, '29 1 1', '4 1 1');
        e.anim_duckwalkbackleft  = animfixfps(e, '30 1 1', '4 1 1');
+
+       // these anims ought to stay until stopped explicitly by weaponsystem
+       e.aim_shoot_z = 0.001;
+       e.aim_melee_z = 0.001;
 }
 
 #define ANIMPRIO_IDLE 0