projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bc7734
)
fixed time of some game elements when reading native DC2 levels
4.2.0.5
author
Holger Schemel
<info@artsoft.org>
Fri, 4 Dec 2020 20:58:19 +0000
(21:58 +0100)
committer
Holger Schemel
<info@artsoft.org>
Fri, 4 Dec 2020 20:58:19 +0000
(21:58 +0100)
src/files.c
patch
|
blob
|
history
diff --git
a/src/files.c
b/src/files.c
index 258d73da62d1a16c1f48aade53f5167c9b789ff4..0b656358d61eefb548c149e8d27c604816fa6638 100644
(file)
--- 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;