From: Holger Schemel Date: Wed, 14 Dec 2022 11:19:39 +0000 (+0100) Subject: added special screen position for button to show level set info for "BD2K3" X-Git-Tag: 4.3.4.0~17 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=fabd25c049e415f50ee1b2270556e039470d1d77;p=rocksndiamonds.git added special screen position for button to show level set info for "BD2K3" --- diff --git a/src/screens.c b/src/screens.c index d986f8d9..284f4e33 100644 --- a/src/screens.c +++ b/src/screens.c @@ -9777,6 +9777,10 @@ static void CreateScreenMenubuttons(void) // use "SX" here to place button (ignore draw offsets) x = SX + SXSIZE - 2 * TILESIZE; y = SY + SYSIZE - 2 * TILESIZE; + + // special compatibility handling for "BD2K3" graphics set + if (strPrefix(leveldir_current->identifier, "BD2K3")) + x = SX + TILESIZE + MINI_TILESIZE; } }