added special screen position for button to show level set info for "BD2K3"
authorHolger Schemel <info@artsoft.org>
Wed, 14 Dec 2022 11:19:39 +0000 (12:19 +0100)
committerHolger Schemel <info@artsoft.org>
Wed, 14 Dec 2022 11:19:39 +0000 (12:19 +0100)
src/screens.c

index d986f8d96a164c12258cb1f6532278d95fa9f490..284f4e332c915455cc97c22d55230bc9e22c11d9 100644 (file)
@@ -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;
       }
     }