projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed bug with overwriting version-specific engine value with default value
[rocksndiamonds.git]
/
src
/
game_em
/
convert.c
diff --git
a/src/game_em/convert.c
b/src/game_em/convert.c
index 086bc7a3ea37cc80084ce83ba6af0e10a924eda7..3cad1078befb04c5784c2c9c130b4bbfa944cb45 100644
(file)
--- a/
src/game_em/convert.c
+++ b/
src/game_em/convert.c
@@
-1107,11
+1107,14
@@
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.any_player_moving = FALSE;
game_em.any_player_snapping = FALSE;
game_em.any_player_moving = FALSE;
game_em.any_player_snapping = FALSE;
- game_em.use_single_button = TRUE;
-
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++)