From 32023507a94b84dd63bf1bed9a19993efb9ea50e Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Mon, 2 Oct 2023 12:06:56 +0200 Subject: [PATCH] fixed drawing envelope request to be always on top of global animations --- src/conf_gfx.c | 1 - src/tools.c | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/conf_gfx.c b/src/conf_gfx.c index be3f3577..0fe69a8d 100644 --- a/src/conf_gfx.c +++ b/src/conf_gfx.c @@ -10069,7 +10069,6 @@ struct ConfigInfo image_config[] = { "request.anim_mode", "default" }, { "request.align", "center" }, { "request.valign", "middle" }, - { "request.draw_order", "0" }, { "request.autowrap", "false" }, { "request.centered", "true" }, { "request.wrap_single_words", "true" }, diff --git a/src/tools.c b/src/tools.c index e66df891..70509ada 100644 --- a/src/tools.c +++ b/src/tools.c @@ -3011,8 +3011,7 @@ void ShowEnvelope(int envelope_nr) static void PrepareEnvelopeRequestToScreen(Bitmap *bitmap, int sx, int sy, int xsize, int ysize) { - if (!global.use_envelope_request || - request.sort_priority <= 0) + if (!global.use_envelope_request) return; if (request.bitmap == NULL || @@ -3046,7 +3045,6 @@ void DrawEnvelopeRequestToScreen(int drawing_target) { if (global.use_envelope_request && game.request_active_or_moving && - request.sort_priority > 0 && drawing_target == DRAW_TO_SCREEN) { BlitToScreen(request.bitmap, 0, 0, request.xsize, request.ysize, -- 2.34.1