From 1e2125ce294c3da74820dcb7d7d59a4338265fa8 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Mon, 13 Feb 2012 21:38:16 +0000 Subject: [PATCH] Make 5th mouse button functional in Windows. git-svn-id: https://svn.eduke32.com/eduke32@2340 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/rawinput.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/build/src/rawinput.c b/polymer/eduke32/build/src/rawinput.c index 29aeda44f..0b34845e4 100644 --- a/polymer/eduke32/build/src/rawinput.c +++ b/polymer/eduke32/build/src/rawinput.c @@ -42,7 +42,7 @@ static inline void RI_ProcessMouse(const RAWMOUSE *rmouse) mousey -= pos.y; } - for (i = 0, mask = (1<<0); mask < (1<<8); i++, mask<<=2) + for (i = 0, mask = (1<<0); mask <= (1<<8); i++, mask<<=2) { // usButtonFlags: // 1<<0: left down -> 1 / 1<<0