Fix ed_showkeys with mousewheel

This commit is contained in:
def 2016-05-01 19:34:16 +02:00
parent b6733a1827
commit a4840cdfd3

View file

@ -211,6 +211,7 @@ int CInput::Update()
if(Event.wheel.y > 0) Key = KEY_MOUSE_WHEEL_UP; // ignore_convention
if(Event.wheel.y < 0) Key = KEY_MOUSE_WHEEL_DOWN; // ignore_convention
Action |= IInput::FLAG_RELEASE;
Scancode = Key;
break;
case SDL_WINDOWEVENT: