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