summaryrefslogtreecommitdiff
path: root/src/g_game.c
diff options
context:
space:
mode:
authorSimon Howard2007-09-02 20:14:40 +0000
committerSimon Howard2007-09-02 20:14:40 +0000
commita74b55d00f652e2b9f959b806b854d6f0b4ea933 (patch)
tree5426626fa9866a162fb15627a97b54f33e27dcbf /src/g_game.c
parent58fdd042a19e6db2739755a03293f669cb4f2df9 (diff)
downloadchocolate-doom-a74b55d00f652e2b9f959b806b854d6f0b4ea933.tar.gz
chocolate-doom-a74b55d00f652e2b9f959b806b854d6f0b4ea933.tar.bz2
chocolate-doom-a74b55d00f652e2b9f959b806b854d6f0b4ea933.zip
Don't make novert affect the joystick as well (thanks Janizdreg)
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 963
Diffstat (limited to 'src/g_game.c')
-rw-r--r--src/g_game.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/g_game.c b/src/g_game.c
index 8a07bab9..6a34135c 100644
--- a/src/g_game.c
+++ b/src/g_game.c
@@ -469,14 +469,10 @@ void G_BuildTiccmd (ticcmd_t* cmd)
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]