From: Holger Schemel Date: Fri, 4 Dec 2020 20:58:19 +0000 (+0100) Subject: fixed time of some game elements when reading native DC2 levels X-Git-Tag: 4.2.0.5^0 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=082f4f71cc9b75ad591c14a5ed26293930b960b6;p=rocksndiamonds.git fixed time of some game elements when reading native DC2 levels --- diff --git a/src/files.c b/src/files.c index 258d73da..0b656358 100644 --- a/src/files.c +++ b/src/files.c @@ -5721,6 +5721,9 @@ static void LoadLevelFromFileStream_DC(File *file, struct LevelInfo *level, level->score[SC_SHIELD] = 0; level->extra_time_score = 0; + // set time for normal and deadly shields to the same value + level->shield_deadly_time = level->shield_normal_time; + // Diamond Caves has the same (strange) behaviour as Emerald Mine that gems // can slip down from flat walls, like normal walls and steel walls level->em_slippery_gems = TRUE;