X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fcartoons.c;h=834996b73c53ff4a49d594226fc40ee6de9f5dcb;hp=96ad97938182c11f9353ce87717f7ffeaf01ac57;hb=0918c3eb2f6219a8cc72aa85bd9c4889788dd474;hpb=be5267c86e001e1fe5f7c3ccea3453c92280f46b diff --git a/src/cartoons.c b/src/cartoons.c index 96ad9793..834996b7 100644 --- a/src/cartoons.c +++ b/src/cartoons.c @@ -107,8 +107,8 @@ void DoAnimation() void HandleAnimation(int mode) { - static long animstart_delay = -1; - static long animstart_delay_value = 0; + static unsigned long animstart_delay = -1; + static unsigned long animstart_delay_value = 0; static boolean anim_restart = TRUE; static boolean reset_delay = TRUE; static int toon_nr = 0; @@ -195,8 +195,8 @@ boolean AnimateToon(int toon_nr, boolean restart) static int delta_x = 0, delta_y = 0; static int frame = 0, frame_step = 1; static boolean horiz_move, vert_move; - static long anim_delay = 0; - static int anim_delay_value = 0; + static unsigned long anim_delay = 0; + static unsigned long anim_delay_value = 0; static int width,height; static int pad_x,pad_y; static int cut_x,cut_y;