projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added handling 64-bit random value bug with old tapes in EM engine
[rocksndiamonds.git]
/
src
/
game.c
diff --git
a/src/game.c
b/src/game.c
index 3544dcf7be975d6724bca3a9999dd46455f1751d..ea44ebd1b295e0fbd134a548d6f12fd0d56b0cc9 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-2990,6
+2990,9
@@
static void InitGameEngine(void)
game_em.use_snap_key_bug =
(game.engine_version < VERSION_IDENT(4,0,1,0));
game_em.use_snap_key_bug =
(game.engine_version < VERSION_IDENT(4,0,1,0));
+ game_em.use_random_bug =
+ (tape.property_bits & TAPE_PROPERTY_EM_RANDOM_BUG);
+
boolean use_old_em_engine = (game.engine_version < VERSION_IDENT(4,2,0,0));
game_em.use_old_explosions = use_old_em_engine;
boolean use_old_em_engine = (game.engine_version < VERSION_IDENT(4,2,0,0));
game_em.use_old_explosions = use_old_em_engine;