added redrawing laser when auto-rotating mirrors in MM engine
authorHolger Schemel <info@artsoft.org>
Fri, 7 Apr 2023 08:23:43 +0000 (10:23 +0200)
committerHolger Schemel <info@artsoft.org>
Fri, 7 Apr 2023 08:23:43 +0000 (10:23 +0200)
src/game_mm/mm_game.c

index 09c693c8ca75280e1428ccee923b7aa0bed4fe70..c4c9e2a86075bbe3b81969e632706138c6aaa1e5 100644 (file)
@@ -3276,7 +3276,11 @@ static void AutoRotateMirrors(void)
          IS_GRID_WOOD_AUTO(element) ||
          IS_GRID_STEEL_AUTO(element) ||
          element == EL_REFRACTOR)
+      {
        RotateMirror(x, y, MB_RIGHTBUTTON);
+
+       laser.redraw = TRUE;
+      }
     }
   }
 }