projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f024e09
)
added setting color type and colors for editor after loading level
author
Holger Schemel
<holger.schemel@virtion.de>
Tue, 31 Dec 2024 15:33:33 +0000
(16:33 +0100)
committer
Holger Schemel
<holger.schemel@virtion.de>
Tue, 31 Dec 2024 15:33:54 +0000
(16:33 +0100)
src/files.c
patch
|
blob
|
history
diff --git
a/src/files.c
b/src/files.c
index c103b940eb8a3efac13764732066393536370559..ac46c7adc36da4a06b79e2884d5f271651b3079b 100644
(file)
--- 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)