X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame.c;h=fe18b07d3c16713072a7d72e34fb106360f20709;hb=ed5a795f1fd2d48a1372d46c06d86d2faab7e3c4;hp=7d83c63f8800dca7c19354af58e6c83de955348f;hpb=436a9fbb93a26d17c80eae4b8bbe79dabfc44099;p=rocksndiamonds.git diff --git a/src/game.c b/src/game.c index 7d83c63f..fe18b07d 100644 --- a/src/game.c +++ b/src/game.c @@ -9505,9 +9505,6 @@ void DrawTwinkleOnField(int x, int y) { MovDelay[x][y]--; - if (setup.direct_draw && MovDelay[x][y]) - SetDrawtoField(DRAW_BUFFERED); - DrawLevelElementAnimation(x, y, Feld[x][y]); if (MovDelay[x][y] != 0) @@ -9516,18 +9513,6 @@ void DrawTwinkleOnField(int x, int y) 10 - MovDelay[x][y]); DrawGraphicThruMask(SCREENX(x), SCREENY(y), IMG_TWINKLE_WHITE, frame); - - if (setup.direct_draw) - { - int dest_x, dest_y; - - dest_x = FX + SCREENX(x) * TILEX; - dest_y = FY + SCREENY(y) * TILEY; - - BlitBitmap(drawto_field, window, - dest_x, dest_y, TILEX, TILEY, dest_x, dest_y); - SetDrawtoField(DRAW_DIRECT); - } } } }