projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version number set to 4.1.0.0
[rocksndiamonds.git]
/
src
/
game_em
/
convert.c
diff --git
a/src/game_em/convert.c
b/src/game_em/convert.c
index d240739efaac68ba01fe913b6c2e2c085e2852fd..cbc7187925b9e5933d9a6b54da378ee7fa2f59a1 100644
(file)
--- a/
src/game_em/convert.c
+++ b/
src/game_em/convert.c
@@
-1107,8
+1107,15
@@
void prepare_em_level(void)
ply[i].joy_stick = ply[i].joy_spin = 0;
}
ply[i].joy_stick = ply[i].joy_spin = 0;
}
+ // the following engine variables are initialized to version-specific values
+ // in function InitGameEngine() (src/game.c):
+ //
+ // - game_em.use_single_button (default: TRUE)
+ // - game_em.use_snap_key_bug (default: FALSE)
+
game_em.any_player_moving = FALSE;
game_em.any_player_snapping = FALSE;
game_em.any_player_moving = FALSE;
game_em.any_player_snapping = FALSE;
+
game_em.last_moving_player = 0; /* default: first player */
for (i = 0; i < MAX_PLAYERS; i++)
game_em.last_moving_player = 0; /* default: first player */
for (i = 0; i < MAX_PLAYERS; i++)