else
frame = gfx.anim_random_frame % num_frames;
}
+ else if (mode & (ANIM_CE_VALUE | ANIM_CE_SCORE))
+ {
+ frame = sync_frame % num_frames;
+ }
if (mode & ANIM_REVERSE) /* use reverse animation direction */
frame = num_frames - frame - 1;
strcmp(direction_string, "right") == 0 ? MV_RIGHT :
strcmp(direction_string, "up") == 0 ? MV_UP :
strcmp(direction_string, "down") == 0 ? MV_DOWN :
- MV_NO_MOVING);
+ MV_NONE);
free(direction_string);
static int toon_nr = 0;
int draw_mode;
- if (!setup.toons)
+ if (!setup.toons || screen_info.num_toons == 0)
return;
/* this may happen after reloading graphics and redefining "num_toons" */