projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20060314-1-src
[rocksndiamonds.git]
/
src
/
game_em
/
synchro_1.c
diff --git
a/src/game_em/synchro_1.c
b/src/game_em/synchro_1.c
index 1fe8faf0a99382bd7180381da190f358ffe2025f..c6f0067428dc59360b0189fab5b8d8acc594568d 100644
(file)
--- a/
src/game_em/synchro_1.c
+++ b/
src/game_em/synchro_1.c
@@
-11,7
+11,10
@@
#include "display.h"
#include "display.h"
+#if 0
extern int centered_player_nr;
extern int centered_player_nr;
+#endif
+
extern boolean checkIfAllPlayersFitToScreen();
static void check_player(struct PLAYER *);
extern boolean checkIfAllPlayersFitToScreen();
static void check_player(struct PLAYER *);
@@
-551,7
+554,8
@@
static void check_player(struct PLAYER *ply)
ply->x = x;
ply->y = y;
ply->x = x;
ply->y = y;
- can_move = (centered_player_nr != -1 || checkIfAllPlayersFitToScreen());
+ can_move = (game.centered_player_nr != -1 ||
+ checkIfAllPlayersFitToScreen());
ply->x = oldx;
ply->y = oldy;
ply->x = oldx;
ply->y = oldy;