return sync_frame % g->anim_frames;
}
- return getGraphicAnimationFrame(graphic, GfxFrame[lx][ly]);
+ int sync_frame = (IN_LEV_FIELD(lx, ly) ? GfxFrame[lx][ly] : -1);
+
+ return getGraphicAnimationFrame(graphic, sync_frame);
}
void getGraphicSourceBitmap(int graphic, int tilesize, Bitmap **bitmap)