added optional button to restart game (door, panel and touch variants)
[rocksndiamonds.git] / src / game_sp / BugsTerminals.c
index cf808c09b3f27df7ba9b8872d4dde8e2e6abb2b0..c6f03e2e6bcd13cd652da4bfd304c99255999ef9 100644 (file)
@@ -77,7 +77,7 @@ void subAnimateTerminals(int si)
 
   // use native frame handling (undo frame incrementation in main loop)
   if (game.use_native_sp_graphics_engine)
-    GfxFrame[lx][ly]--;
+    GfxFrameSP[lx][ly]--;
 
   // get last random animation delay
   bl = SgnHighByte(PlayField16[si]);
@@ -108,7 +108,7 @@ void subAnimateTerminals(int si)
   graphic = (bl < 8 ? aniTerminal : aniTerminalActive);
 
   if (game.use_native_sp_graphics_engine)
-    GfxFrame[lx][ly] += getGraphicInfo_Delay(graphic);
+    GfxFrameSP[lx][ly] += getGraphicInfo_Delay(graphic);
 
   GfxGraphic[lx][ly] = (bl < 8 ? aniTerminal : aniTerminalActive);