From: Holger Schemel Date: Tue, 31 Dec 2024 15:33:33 +0000 (+0100) Subject: added setting color type and colors for editor after loading level X-Git-Tag: 4.4.0.1~66 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=9552c5e5809dc581277a8a4930d7dcdbe2d5ca33;p=rocksndiamonds.git added setting color type and colors for editor after loading level --- 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)