Skip to content

Commit

Permalink
Fixed mousewheel input.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Nov 6, 2015
1 parent 9873057 commit 0ec9f66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/con_sdl.cpp
Expand Up @@ -836,7 +836,7 @@ static void ProcessSDLEvent(const SDL_Event &sdlevent, TEvent *Event) {

case SDL_MOUSEWHEEL:
if (sdlevent.wheel.x || sdlevent.wheel.y) {
Event->What = evMouseDown;
Event->What = evCommand;
Event->Mouse.X = LastMouseX;
Event->Mouse.Y = LastMouseY;
Event->Mouse.Count = 1;
Expand Down

0 comments on commit 0ec9f66

Please sign in to comment.