X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fcartoons.c;h=44242e8753fad73e83a23599efb9283a4e905a4a;hp=6b145d6d253097237e234b38723eb9718234704a;hb=2357c391b4a587709627cc30316734b3c83c8134;hpb=0a52f54d2f6ab7dce8062c7738ede185ba5acad3 diff --git a/src/cartoons.c b/src/cartoons.c index 6b145d6d..44242e87 100644 --- a/src/cartoons.c +++ b/src/cartoons.c @@ -114,7 +114,7 @@ void HandleAnimation(int mode) static int toon_nr = 0; int draw_mode; - if (!setup.toons_on) + if (!setup.toons) return; switch(mode) @@ -124,7 +124,7 @@ void HandleAnimation(int mode) reset_delay = TRUE; /* Fill empty backbuffer for animation functions */ - if (setup.direct_draw_on && game_status == PLAYING) + if (setup.direct_draw && game_status == PLAYING) { int xx,yy; @@ -138,7 +138,7 @@ void HandleAnimation(int mode) SetDrawtoField(DRAW_DIRECT); } - if (setup.soft_scrolling_on && game_status == PLAYING) + if (setup.soft_scrolling && game_status == PLAYING) { int fx = FX, fy = FY; @@ -158,12 +158,12 @@ void HandleAnimation(int mode) redraw_mask |= (REDRAW_FIELD | REDRAW_FROM_BACKBUFFER); /* Redraw background even when in direct drawing mode */ - draw_mode = setup.direct_draw_on; - setup.direct_draw_on = FALSE; + draw_mode = setup.direct_draw; + setup.direct_draw = FALSE; BackToFront(); - setup.direct_draw_on = draw_mode; + setup.direct_draw = draw_mode; return; break;