From: Holger Schemel Date: Sun, 27 Oct 2024 18:24:17 +0000 (+0100) Subject: fixed support for level specific information text messages X-Git-Tag: 4.4.0.0-test-4~111 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=21f9bd673b322d4c36207db85e734764c51191d2;p=rocksndiamonds.git fixed support for level specific information text messages Added special compatibility handling for "BD2K3" graphics set. --- 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) } }