shithub: choc

Download patch

ref: a74b55d00f652e2b9f959b806b854d6f0b4ea933
parent: 58fdd042a19e6db2739755a03293f669cb4f2df9
author: Simon Howard <[email protected]>
date: Sun Sep 2 16:14:40 EDT 2007

Don't make novert affect the joystick as well (thanks Janizdreg)

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 963

--- a/src/g_game.c
+++ b/src/g_game.c
@@ -469,14 +469,10 @@
 	forward -= forwardmove[speed]; 
     }
 
-    // fraggle: allow disabling joystick y movement
-    if (!novert)
-    {
-        if (joyymove < 0) 
-            forward += forwardmove[speed]; 
-        if (joyymove > 0) 
-            forward -= forwardmove[speed]; 
-    }
+    if (joyymove < 0) 
+        forward += forwardmove[speed]; 
+    if (joyymove > 0) 
+        forward -= forwardmove[speed]; 
 
     if (gamekeydown[key_strafeleft]
      || joybuttons[joybstrafeleft]