diff options
Diffstat (limited to 'src/hexen')
-rw-r--r-- | src/hexen/g_game.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/hexen/g_game.c b/src/hexen/g_game.c index da7d11df..5333c0f6 100644 --- a/src/hexen/g_game.c +++ b/src/hexen/g_game.c @@ -314,11 +314,13 @@ void G_BuildTiccmd(ticcmd_t *cmd, int maketic) { forward -= forwardmove[pClass][speed]; } - if (gamekeydown[key_straferight] || joystrafemove > 0) + if (gamekeydown[key_straferight] || joystrafemove > 0 + || joybuttons[joybstraferight]) { side += sidemove[pClass][speed]; } - if (gamekeydown[key_strafeleft] || joystrafemove < 0) + if (gamekeydown[key_strafeleft] || joystrafemove < 0 + || joybuttons[joybstrafeleft]) { side -= sidemove[pClass][speed]; } |