From: Holger Schemel Date: Mon, 2 Oct 2023 10:06:56 +0000 (+0200) Subject: fixed drawing envelope request to be always on top of global animations X-Git-Tag: 4.3.7.0~15 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=32023507a94b84dd63bf1bed9a19993efb9ea50e;p=rocksndiamonds.git fixed drawing envelope request to be always on top of global animations --- 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,