fixed bug with clickable mirrors not disabled when game paused (MM engine)
authorHolger Schemel <info@artsoft.org>
Fri, 24 Mar 2017 16:41:19 +0000 (17:41 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 23 Mar 2018 22:21:11 +0000 (23:21 +0100)
src/events.c

index 55c9b59dfd6675cf1cb350b13e233dd65f526ed1..a43db7c6510eaa59ea666d62baee3686480755e5 100644 (file)
@@ -1325,7 +1325,7 @@ void HandleButton(int mx, int my, int button, int button_nr)
       break;
 
     case GAME_MODE_PLAYING:
-      if (level.game_engine_type == GAME_ENGINE_TYPE_MM)
+      if (level.game_engine_type == GAME_ENGINE_TYPE_MM && !tape.pausing)
        ClickElement(mx, my, button);
 #if defined(TARGET_SDL2)
       else