renamed duplicate definition of global variable
[rocksndiamonds.git] / src / game_sp / DDScrollBuffer.c
index 0db7e7fd2af75a00ef34dbc429e676d1c6395c92..13c773a164e99e2432ad67cc4d0d045184fb1a71 100644 (file)
@@ -185,7 +185,7 @@ void UpdatePlayfield(boolean force_redraw)
     {
       int element = LowByte(PlayField16[GetSI(x, y)]);
       int graphic = GfxGraphic[x][y];
-      int sync_frame = GfxFrame[x][y];
+      int sync_frame = GfxFrameSP[x][y];
       boolean redraw = force_redraw;
 
       if (graphic < 0)
@@ -212,7 +212,7 @@ void UpdatePlayfield(boolean force_redraw)
 
        GfxElementLast[x][y] = element;
        GfxGraphicLast[x][y] = GfxGraphic[x][y];
-       sync_frame = GfxFrame[x][y] = 0;
+       sync_frame = GfxFrameSP[x][y] = 0;
       }
       else if (isNextAnimationFrame_SP(graphic, sync_frame))   // new frame
       {