summaryrefslogtreecommitdiff
path: root/src/hexen
diff options
context:
space:
mode:
authorSimon Howard2013-09-21 17:55:16 +0000
committerSimon Howard2013-09-21 17:55:16 +0000
commit779653135172cfce29dd395a7ca93332bd637c09 (patch)
tree9f5b68550f75e0c8b71f10da96b2c39ce9b6095c /src/hexen
parent092ed7a561b4d6527ec9d1761bd71f9d0f804c7a (diff)
downloadchocolate-doom-779653135172cfce29dd395a7ca93332bd637c09.tar.gz
chocolate-doom-779653135172cfce29dd395a7ca93332bd637c09.tar.bz2
chocolate-doom-779653135172cfce29dd395a7ca93332bd637c09.zip
Fix mouse "use" button in Heretic (thanks mooseman2).
Subversion-branch: /branches/v2-branch Subversion-revision: 2678
Diffstat (limited to 'src/hexen')
-rw-r--r--src/hexen/g_game.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hexen/g_game.c b/src/hexen/g_game.c
index 707f2cac..a304d0f6 100644
--- a/src/hexen/g_game.c
+++ b/src/hexen/g_game.c
@@ -448,7 +448,7 @@ void G_BuildTiccmd(ticcmd_t *cmd, int maketic)
|| joybuttons[joybfire])
cmd->buttons |= BT_ATTACK;
- if (gamekeydown[key_use] || joybuttons[joybuse])
+ if (gamekeydown[key_use] || joybuttons[joybuse] || mousebuttons[mousebuse])
{
cmd->buttons |= BT_USE;
dclicks = 0; // clear double clicks if hit use button