summaryrefslogtreecommitdiff
path: root/src/qcommon
diff options
context:
space:
mode:
authorRoman Tetelman <kevlarman@gmail.com>2009-10-03 12:59:19 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:23 +0000
commit089dca871b4069ef4a9e976c09573405043eff65 (patch)
treec860f131874045e0a746ffb8b0204b3a7b090b81 /src/qcommon
parent5232654139a3f2f5916fc63c998076e1ca6bd443 (diff)
* separate dodge and sprint onto their own keys (dodge +button6, sprint +button8)
* hold the sprint key to move faster * FIXME: remove references to SS_SPEEDBOOST and cg_alwayssprint
Diffstat (limited to 'src/qcommon')
-rw-r--r--src/qcommon/q_shared.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qcommon/q_shared.h b/src/qcommon/q_shared.h
index 18b8c6d7..dc1d2058 100644
--- a/src/qcommon/q_shared.h
+++ b/src/qcommon/q_shared.h
@@ -1156,6 +1156,7 @@ typedef struct playerState_s {
#define BUTTON_ATTACK2 32
#define BUTTON_DODGE 64 // start a dodge or sprint motion
#define BUTTON_USE_EVOLVE 128 // use target or open evolve menu
+#define BUTTON_SPRINT 256
#define BUTTON_ANY 2048 // any key whatsoever