summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2007-06-01 18:08:09 +0000
committerSimon Howard2007-06-01 18:08:09 +0000
commit200a86cf8378233fbb9e3687620ea9e577c3d773 (patch)
tree3d4769a438ba3060d2fb135d555652661d71e98b
parent880ce3aa3f7fd7f8d2345982603e8bfa8914fd4f (diff)
downloadchocolate-doom-200a86cf8378233fbb9e3687620ea9e577c3d773.tar.gz
chocolate-doom-200a86cf8378233fbb9e3687620ea9e577c3d773.tar.bz2
chocolate-doom-200a86cf8378233fbb9e3687620ea9e577c3d773.zip
Up the threshold for the always run hack to 20; it's conceivable that
there are control pads with more than 10 buttons. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 889
-rw-r--r--src/g_game.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/g_game.c b/src/g_game.c
index f46f0d72..dd2c2669 100644
--- a/src/g_game.c
+++ b/src/g_game.c
@@ -392,7 +392,7 @@ void G_BuildTiccmd (ticcmd_t* cmd)
// allowed an autorun effect
speed = key_speed >= NUMKEYS
- || joybspeed >= 10
+ || joybspeed >= 20
|| gamekeydown[key_speed]
|| joybuttons[joybspeed];