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);