ref: 5ce7f5cd613bb96baddc97cb38ad2ee074b0b87c
parent: 33304ee6ff09806002181e6b739e2a4859be1ade
author: Simon Howard <[email protected]>
date: Wed Oct 25 16:04:58 EDT 2006
"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
--- a/setup/keyboard.c
+++ b/setup/keyboard.c
@@ -47,7 +47,15 @@
{
if (always_run)
{
- joybspeed = 31;
+ /*
+ <Janizdreg> if you want to pick one for chocolate doom to use,
+ pick 29, since that is the most universal one that
+ also works with heretic, hexen and strife =P
+
+ NB. This choice also works with original, ultimate and final exes.
+ */
+
+ joybspeed = 29;
}
else
{
@@ -92,7 +100,7 @@
txt_table_t *action_table;
txt_checkbox_t *run_control;
- always_run = joybspeed > 30;
+ always_run = joybspeed >= 10;
window = TXT_NewWindow("Keyboard configuration");
--- a/src/g_game.c
+++ b/src/g_game.c
@@ -392,7 +392,7 @@
// allowed an autorun effect
speed = key_speed >= NUMKEYS
- || joybspeed >= 4
+ || joybspeed >= 10
|| gamekeydown[key_speed]
|| joybuttons[joybspeed];