projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
significant cleanup of envelope style request dialog handling
[rocksndiamonds.git]
/
src
/
game.c
diff --git
a/src/game.c
b/src/game.c
index 51633eb17bac0a776424354fca73b6a7c642f46b..dc1e2442737dd525a7ab93e52a29617d35163fa5 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-3095,6
+3095,9
@@
static void InitGameEngine(void)
game_em.use_single_button =
(game.engine_version > VERSION_IDENT(4,0,0,2));
game_em.use_single_button =
(game.engine_version > VERSION_IDENT(4,0,0,2));
+ game_em.use_push_delay =
+ (game.engine_version > VERSION_IDENT(4,3,7,1));
+
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));
@@
-3973,6
+3976,10
@@
void InitGame(void)
InitBeltMovement();
InitBeltMovement();
+ // required if level does not contain any "empty space" element
+ if (element_info[EL_EMPTY].use_gfx_element)
+ game.use_masked_elements = TRUE;
+
for (i = 0; i < MAX_PLAYERS; i++)
{
struct PlayerInfo *player = &stored_player[i];
for (i = 0; i < MAX_PLAYERS; i++)
{
struct PlayerInfo *player = &stored_player[i];