fixed name of element 'polarisator' to 'polarizer'
[rocksndiamonds.git] / src / game_mm / mm_tools.c
index aa09879e0c4690c34148371202e1ba5be35262d7..93ab822122fb4a5acfa3a15fa98f4122ada429d0 100644 (file)
@@ -420,8 +420,7 @@ void DrawWallsExt_MM(int x, int y, int element, int draw_mask)
 
   getMiniGraphicSource(graphic, &bitmap, &gx, &gy);
 
-  if (game_status != LEVELED || !editor.draw_walls_masked)
-    DrawGraphic_MM(x, y, IMG_EMPTY);
+  DrawGraphic_MM(x, y, IMG_EMPTY);
 
   /*
   if (IS_WALL_WOOD(element) || IS_WALL_AMOEBA(element) ||
@@ -442,7 +441,7 @@ void DrawWallsExt_MM(int x, int y, int element, int draw_mask)
     if (element & (1 << i))
       BlitBitmap(bitmap, drawto, gx, gy, MINI_TILEX, MINI_TILEY,
                 dest_x, dest_y);
-    else if (!editor.draw_walls_masked)
+    else
       ClearRectangle(drawto, dest_x, dest_y, MINI_TILEX, MINI_TILEY);
   }
 
@@ -518,6 +517,11 @@ void DrawElement_MM(int x, int y, int element)
 #endif
   else if (element == EL_PACMAN)
     DrawLevelField_MM(x, y);
+  else if (element == EL_FUSE_ON &&
+          laser.fuse_off &&
+          laser.fuse_x == x &&
+          laser.fuse_y == y)
+    DrawGraphic_MM(x, y, IMG_MM_FUSE);
   else
     DrawGraphic_MM(x, y, el2gfx(element));
 }
@@ -740,6 +744,7 @@ int el2gfx(int element)
 void RedrawPlayfield_MM()
 {
   DrawLevel_MM();
+  DrawLaser_MM();
 }
 
 void BlitScreenToBitmap_MM(Bitmap *target_bitmap)