From: Holger Schemel Date: Mon, 30 Mar 2015 22:47:22 +0000 (+0200) Subject: fixed slow tape quick-loading due to unneeded tape area update X-Git-Tag: 4.0.0.0-rc1~219 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=6b7dd245f9c3d003c09b846c38ab7c0ad34da974 fixed slow tape quick-loading due to unneeded tape area update --- diff --git a/src/tape.c b/src/tape.c index efc8bcb4..bb0f08f8 100644 --- a/src/tape.c +++ b/src/tape.c @@ -289,6 +289,8 @@ static void DrawVideoDisplay_Graphics(unsigned int state, unsigned int value) if (gd_bitmap != NULL) BlitBitmap(gd_bitmap, drawto, gd_x, gd_y, gfx->width, gfx->height, VX + pos->x, VY + pos->y); + + redraw_mask |= REDRAW_DOOR_2; } } } @@ -431,8 +433,6 @@ void DrawVideoDisplay(unsigned int state, unsigned int value) { DrawVideoDisplay_Graphics(state, value); DrawVideoDisplay_DateTime(state, value); - - redraw_mask |= REDRAW_DOOR_2; } void DrawCompleteVideoDisplay()