rnd-20030223-2-src
[rocksndiamonds.git] / src / tools.c
index fd263d1e1f38646a03a057e1f459d256c15b1b00..7330f9f9c2e11bce490501dc316342efb56c787b 100644 (file)
@@ -437,7 +437,7 @@ void SetBorderElement()
 
 void SetRandomAnimationValue(int x, int y)
 {
-  anim.random_frame = GfxRandom[x][y];
+  gfx.anim_random_frame = GfxRandom[x][y];
 }
 
 inline int getGraphicAnimationFrame(int graphic, int sync_frame)