added "effects" element graphics for native BD engine to level editor
[rocksndiamonds.git] / src / tools.c
index aa15883d5fd03fc5df01c9308e193dd80a6019c2..26df75352df7bb0345e1c4bf7b5a8ad081ffd93e 100644 (file)
@@ -10578,6 +10578,9 @@ void InitGraphicInfo_BD(void)
       g_bd->src_y  = src_y;
       g_bd->width  = TILEX;
       g_bd->height = TILEY;
+
+      g_bd->graphic = graphic;
+      g_bd->frame = frame;
     }
   }
 
@@ -10594,6 +10597,9 @@ void InitGraphicInfo_BD(void)
   g_bd->src_y  = src_y;
   g_bd->width  = TILEX;
   g_bd->height = TILEY;
+
+  g_bd->graphic = graphic;
+  g_bd->frame = 0;
 }
 
 void InitGraphicInfo_EM(void)