X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fcartoons.c;h=1d5373142b4a6fa18a90b2402383f5884f2570a3;hb=4b0c6356359ee52f98cee8fa578179c6c41d4ef1;hp=a295844ff733f9febfcf6fab182ea0c0b5e734b0;hpb=b7d31643c9c84104fb3ebef778e545928610ff65;p=rocksndiamonds.git diff --git a/src/cartoons.c b/src/cartoons.c index a295844f..1d537314 100644 --- a/src/cartoons.c +++ b/src/cartoons.c @@ -125,18 +125,30 @@ 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; - drawto_field = backbuffer; + SetDrawtoField(DRAW_BACKBUFFER); for(xx=0;xx