rnd-20020930-2-src
[rocksndiamonds.git] / src / libgame / toons.c
index 2546975b5b5f978e509b068043eb3c21909d0ecf..5c95800cc72c5f53fa0d126221dbaf9e890ac3ae 100644 (file)
@@ -220,7 +220,7 @@ boolean AnimateToon(int toon_nr, boolean restart)
 
   if (frame<0 || frame>=anim->frames)
   {
-    if (anim->pingpong)
+    if (anim->mode == ANIM_PINGPONG)
     {
       frame_step *= -1;
       frame = (frame<0 ? 1 : anim->frames-2);