fixed time of some game elements when reading native DC2 levels 4.2.0.5
authorHolger Schemel <info@artsoft.org>
Fri, 4 Dec 2020 20:58:19 +0000 (21:58 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 4 Dec 2020 20:58:19 +0000 (21:58 +0100)
src/files.c

index 258d73da62d1a16c1f48aade53f5167c9b789ff4..0b656358d61eefb548c149e8d27c604816fa6638 100644 (file)
@@ -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;