Make 5th mouse button functional in Windows.

git-svn-id: https://svn.eduke32.com/eduke32@2340 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2012-02-13 21:38:16 +00:00
parent f89d73504d
commit 1e2125ce29

View file

@ -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