From: Holger Schemel Date: Fri, 15 Dec 2017 07:13:22 +0000 (+0100) Subject: fixed bug with keyboard/joystick events unpausing MM style games X-Git-Tag: 4.1.0.0~32 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=098a2e44080c6286cc4252287922fd9abfeee4dc;p=rocksndiamonds.git fixed bug with keyboard/joystick events unpausing MM style games --- diff --git a/src/events.c b/src/events.c index 349d75fb..84652764 100644 --- a/src/events.c +++ b/src/events.c @@ -1824,7 +1824,7 @@ void HandleKey(Key key, int key_status) else stored_player[pnr].action &= ~key_action; - if (tape.single_step && tape.recording && tape.pausing) + if (tape.single_step && tape.recording && tape.pausing && !tape.use_mouse) { if (key_status == KEY_PRESSED && key_action & KEY_MOTION) { @@ -2328,7 +2328,7 @@ void HandleJoystick() return; } - if (tape.recording && tape.pausing) + if (tape.recording && tape.pausing && !tape.use_mouse) { if (joystick & JOY_ACTION) TapeTogglePause(TAPE_TOGGLE_MANUAL);