Allow the binding of every mouse button by the hotkey system.

This commit is contained in:
fendrin 2013-11-26 09:48:52 +01:00
parent ebe2b446ec
commit 2b0770daee

View file

@ -561,7 +561,7 @@ void hotkey_preferences_dialog::show_binding_dialog(
while ( event.type != SDL_KEYDOWN && event.type != SDL_JOYBUTTONDOWN
&& event.type != SDL_JOYHATMOTION
&& (event.type != SDL_MOUSEBUTTONDOWN || event.button.button < 4)
&& (event.type != SDL_MOUSEBUTTONDOWN )
)
SDL_PollEvent(&event);