fixed showing/hiding mouse cursor in playfield when playing MM style games
authorHolger Schemel <info@artsoft.org>
Fri, 15 Dec 2017 08:13:12 +0000 (09:13 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 23 Mar 2018 22:21:17 +0000 (23:21 +0100)
src/events.c

index 4755d51ff57dc975ba1a27f91d45f02f7847fe2f..c40075e4d375faa0157249fbd68e9d909ba26b41 100644 (file)
@@ -304,7 +304,8 @@ void HandleMouseCursor()
        cursor_inside_playfield &&
        DelayReached(&special_cursor_delay, special_cursor_delay_value))
     {
-      if (level.game_engine_type != GAME_ENGINE_TYPE_MM)
+      if (level.game_engine_type != GAME_ENGINE_TYPE_MM ||
+         tile_cursor.enabled)
        SetMouseCursor(CURSOR_PLAYFIELD);
     }
   }