shithub: choc

Download patch

ref: 200a86cf8378233fbb9e3687620ea9e577c3d773
parent: 880ce3aa3f7fd7f8d2345982603e8bfa8914fd4f
author: Simon Howard <[email protected]>
date: Fri Jun 1 14:08:09 EDT 2007

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

--- a/src/g_game.c
+++ b/src/g_game.c
@@ -392,7 +392,7 @@
     // allowed an autorun effect
 
     speed = key_speed >= NUMKEYS
-         || joybspeed >= 10
+         || joybspeed >= 20
          || gamekeydown[key_speed] 
          || joybuttons[joybspeed];