X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fcartoons.c;h=b1b31921c03f0f1cc01131a9160a9fe4a77f447d;hb=1256664ceac31f448a0139edd3bd0dc8fa5a8697;hp=2edb0e4e942932d859ffc02e106e8146f4ad37ca;hpb=e2d2518810a4ab32f6dfd32faa83869307b3aa3d;p=rocksndiamonds.git diff --git a/src/cartoons.c b/src/cartoons.c index 2edb0e4e..b1b31921 100644 --- a/src/cartoons.c +++ b/src/cartoons.c @@ -125,7 +125,7 @@ void HandleAnimation(int mode) reset_delay = TRUE; /* Fill empty backbuffer for animation functions */ - if (direct_draw_on && game_status==PLAYING) + if (direct_draw_on && game_status == PLAYING) { int xx,yy; @@ -139,7 +139,7 @@ void HandleAnimation(int mode) SetDrawtoField(DRAW_DIRECT); } - if (soft_scrolling_on && game_status==PLAYING) + if (soft_scrolling_on && game_status == PLAYING) { int fx = FX, fy = FY; @@ -175,7 +175,7 @@ void HandleAnimation(int mode) if (reset_delay) { animstart_delay = Counter(); - animstart_delay_value = SimpleRND(500); + animstart_delay_value = SimpleRND(3000); reset_delay = FALSE; } @@ -406,7 +406,7 @@ BOOL AnimateToon(int toon_nr, BOOL restart) { horiz_move = (anim->direction & (ANIMDIR_LEFT | ANIMDIR_RIGHT)); vert_move = (anim->direction & (ANIMDIR_UP | ANIMDIR_DOWN)); - anim_delay_value = 100/anim->frames_per_second; + anim_delay_value = 1000/anim->frames_per_second; frame = 0; if (horiz_move)