From: Holger Schemel Date: Mon, 3 Jul 2017 19:58:31 +0000 (+0200) Subject: fixed broken game controller event handling in joystick calibration X-Git-Tag: 4.0.1.0~30 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=c104460647804f7fb64c02cb4619d18d1abba23c fixed broken game controller event handling in joystick calibration --- diff --git a/src/screens.c b/src/screens.c index 031d37dd..d9abbb6f 100644 --- a/src/screens.c +++ b/src/screens.c @@ -6404,7 +6404,7 @@ static boolean CalibrateJoystickMain(int player_nr) while (result < 0) { - if (PendingEvent()) /* got event */ + while (PendingEvent()) /* got event */ { Event event;