]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/physics/player.qh
Merge branch 'Lyberta/Survival' into Lyberta/master
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / physics / player.qh
index 478789dc2e784d51d708382273ac1a106f84a5da..2a6744f2fecc949f0cc2e228323c9bebe67f7180 100644 (file)
@@ -109,10 +109,14 @@ bool IsFlying(entity a);
 #define PHYS_INPUT_BUTTON_ZOOMSCRIPT(s)     PHYS_INPUT_BUTTON_BUTTON9(s)
 #define PHYS_INPUT_BUTTON_JETPACK(s)        PHYS_INPUT_BUTTON_BUTTON10(s)
 #define PHYS_INPUT_BUTTON_DODGE(s)                     PHYS_INPUT_BUTTON_BUTTON11(s)
+#define PHYS_INPUT_BUTTON_SPRINT(s)                    PHYS_INPUT_BUTTON_BUTTON12(s)
 
 #ifdef CSQC
 STATIC_INIT(PHYS_INPUT_BUTTON)
 {
+       localcmd("alias +sprint +button12\n");
+       localcmd("alias -sprint -button12\n");
+
        localcmd("alias +hook +button6\n");
        localcmd("alias -hook -button6\n");