X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.c;h=f2cffa56ba65aad73edd527e338b5a2b08eff30e;hb=3df902ffd036b993f232ff9ff40a8435a838bd1f;hp=373e01b3e5d28e04ee94d0cdde9b6ad6207578a6;hpb=016bfbfd8fcefef7fac0d6861d209b7ed25b4fdb;p=rocksndiamonds.git diff --git a/src/tools.c b/src/tools.c index 373e01b3..f2cffa56 100644 --- a/src/tools.c +++ b/src/tools.c @@ -3327,14 +3327,15 @@ 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]);