X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.c;h=c1605b4397cac8c50d59d692dbe3f23eaf0e2ad2;hb=9bef503670630747428334ba43f938c24132d834;hp=e321f18c513a81dc3008e0e0cc87ed5581a285b4;hpb=c0f95d8de44a0a46ffe295beba37937c6f5df0c2;p=rocksndiamonds.git diff --git a/src/tools.c b/src/tools.c index e321f18c..c1605b43 100644 --- a/src/tools.c +++ b/src/tools.c @@ -3314,15 +3314,14 @@ static void ShowEnvelopeRequest(char *text, unsigned int req_state, int action) if (game_status == GAME_MODE_PLAYING) BlitScreenToBitmap(backbuffer); - if (game_status == GAME_MODE_PLAYING || action == ACTION_OPENING) - BlitBitmap(backbuffer, bitmap_db_store_1, 0, 0, WIN_XSIZE, WIN_YSIZE, 0, 0); - SetDrawtoField(DRAW_TO_BACKBUFFER); // SetDrawBackgroundMask(REDRAW_NONE); if (action == ACTION_OPENING) { + BlitBitmap(backbuffer, bitmap_db_store_1, 0, 0, WIN_XSIZE, WIN_YSIZE, 0, 0); + if (req_state & REQ_ASK) { MapGadget(tool_gadget[TOOL_CTRL_ID_YES]);