summaryrefslogtreecommitdiff
path: root/src/g_game.c
diff options
context:
space:
mode:
authorSimon Howard2006-10-25 20:04:58 +0000
committerSimon Howard2006-10-25 20:04:58 +0000
commit5ce7f5cd613bb96baddc97cb38ad2ee074b0b87c (patch)
tree96a0560dd5fc776d424f32e6ecde2bc133aea7c4 /src/g_game.c
parent33304ee6ff09806002181e6b739e2a4859be1ade (diff)
downloadchocolate-doom-5ce7f5cd613bb96baddc97cb38ad2ee074b0b87c.tar.gz
chocolate-doom-5ce7f5cd613bb96baddc97cb38ad2ee074b0b87c.tar.bz2
chocolate-doom-5ce7f5cd613bb96baddc97cb38ad2ee074b0b87c.zip
"Always run" trick should only be when joyb_speed >= 10. Use 29 as the
ideal value in setup as this works in Original, Ultimate and Final Doom, Heretic, Hexen and Strife. Thanks to Janizdreg for this. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 739
Diffstat (limited to 'src/g_game.c')
-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 6a46980a..971b7855 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 >= 4
+ || joybspeed >= 10
|| gamekeydown[key_speed]
|| joybuttons[joybspeed];