fixed bug with keyboard/joystick events unpausing MM style games
authorHolger Schemel <info@artsoft.org>
Fri, 15 Dec 2017 07:13:22 +0000 (08:13 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 23 Mar 2018 22:21:17 +0000 (23:21 +0100)
src/events.c

index 349d75fb21ffc5f74c83baf9733e996da12fc1f7..846527641a28506f152f75fd380bc3ff52bc4252 100644 (file)
@@ -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);