rnd-20030419-2-src
[rocksndiamonds.git] / src / game.c
index aad2757881fabbc437990a08c68ab047d40e9bcb..0f4ce58eb9455bbb3bcd9d0231a783da8a3ad5dd 100644 (file)
@@ -1505,9 +1505,9 @@ void Explode(int ex, int ey, int phase, int mode)
   {
     int center_element = Feld[ex][ey];
 
-    /* remove things displayed in background while burnig dynamite */
-    if (!IS_INDESTRUCTIBLE(Back[x][y]))
-      Back[x][y] = 0;
+    /* remove things displayed in background while burning dynamite */
+    if (!IS_INDESTRUCTIBLE(Back[ex][ey]))
+      Back[ex][ey] = 0;
 
     if (IS_MOVING(ex, ey) || IS_BLOCKED(ex, ey))
     {