From 9552c5e5809dc581277a8a4930d7dcdbe2d5ca33 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Tue, 31 Dec 2024 16:33:33 +0100 Subject: [PATCH] added setting color type and colors for editor after loading level --- src/files.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/files.c b/src/files.c index c103b940..ac46c7ad 100644 --- a/src/files.c +++ b/src/files.c @@ -7911,6 +7911,10 @@ static void LoadLevel_InitSettings(struct LevelInfo *level) leveldir_current->force_level_name)) snprintf(level->name, MAX_LEVEL_NAME_LEN + 1, leveldir_current->empty_level_name, level_nr); + + // set default color type and colors for BD style level colors + SetDefaultLevelColorType_BD(); + SetDefaultLevelColors_BD(); } static void LoadLevel_InitStandardElements(struct LevelInfo *level) -- 2.34.1