From: Holger Schemel Date: Sun, 13 Jun 2021 14:52:17 +0000 (+0200) Subject: added adjusting some level settings after loading level (not used yet) X-Git-Tag: 4.3.0.0~136 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=5967c94482902b251e034b55e4f85343d94c9610;p=rocksndiamonds.git added adjusting some level settings after loading level (not used yet) --- diff --git a/src/files.c b/src/files.c index a1901cae..8b50f8e2 100644 --- a/src/files.c +++ b/src/files.c @@ -6474,6 +6474,10 @@ static void LoadLevel_InitVersion(struct LevelInfo *level) level->keep_walkable_ce = TRUE; } +static void LoadLevel_InitSettings(struct LevelInfo *level) +{ +} + static void LoadLevel_InitStandardElements(struct LevelInfo *level) { int i, x, y; @@ -6700,6 +6704,7 @@ static void LoadLevelTemplate_LoadAndInit(void) LoadLevel_InitVersion(&level_template); LoadLevel_InitElements(&level_template); + LoadLevel_InitSettings(&level_template); ActivateLevelTemplate(); } @@ -6740,6 +6745,7 @@ static void LoadLevel_LoadAndInit(struct NetworkLevelInfo *network_level) LoadLevel_InitVersion(&level); LoadLevel_InitElements(&level); LoadLevel_InitPlayfield(&level); + LoadLevel_InitSettings(&level); LoadLevel_InitNativeEngines(&level); }