projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed support for wrap-around levels in EM engine for old tapes
[rocksndiamonds.git]
/
src
/
game.c
diff --git
a/src/game.c
b/src/game.c
index d67a91a0b8c743ba46cbb55d245067f314897fa4..8c243a4954c3bbec07e28c79afa20bfbbc1cec21 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-2991,6
+2991,9
@@
static void InitGameEngine(void)
game_em.use_old_explosions =
(game.engine_version < VERSION_IDENT(4,1,4,2));
game_em.use_old_explosions =
(game.engine_version < VERSION_IDENT(4,1,4,2));
+ game_em.use_wrap_around =
+ (game.engine_version > VERSION_IDENT(4,1,4,1));
+
// --------------------------------------------------------------------------
// set maximal allowed number of custom element changes per game frame
// --------------------------------------------------------------------------
// set maximal allowed number of custom element changes per game frame