fix the double wheel events

This commit is contained in:
Bill Currie 2000-11-15 04:01:27 +00:00
parent eadf434f17
commit f971ce91fe

View file

@ -188,12 +188,10 @@ IN_SendKeyEvents (void)
== SDL_MOUSEBUTTONDOWN);
break;
case 4:
Key_Event(K_MWHEELUP, 1);
Key_Event(K_MWHEELUP, 0);
Key_Event(K_MWHEELUP, event.type == SDL_MOUSEBUTTONDOWN);
break;
case 5:
Key_Event(K_MWHEELDOWN, 1);
Key_Event(K_MWHEELDOWN, 0);
Key_Event(K_MWHEELDOWN, event.type == SDL_MOUSEBUTTONDOWN);
break;
}
break;