From 21f9bd673b322d4c36207db85e734764c51191d2 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sun, 27 Oct 2024 19:24:17 +0100 Subject: [PATCH] fixed support for level specific information text messages Added special compatibility handling for "BD2K3" graphics set. --- src/screens.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/screens.c b/src/screens.c index c0bd1a84..98fe6867 100644 --- a/src/screens.c +++ b/src/screens.c @@ -10764,6 +10764,10 @@ static void CreateScreenMenubuttons(void) // use "SX" here to place button (ignore draw offsets) x = SX + TILESIZE; y = SY + SYSIZE - 2 * TILESIZE; + + // special compatibility handling for "BD2K3" graphics set + if (strPrefix(leveldir_current->identifier, "BD2K3")) + x = -1000; // hide button (to prevent partially undrawing level set info button) } } -- 2.34.1