X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_em%2Fsynchro_1.c;h=c6f0067428dc59360b0189fab5b8d8acc594568d;hb=c4dd9e14b72b528e82bc018fe2fa76b784221584;hp=1fe8faf0a99382bd7180381da190f358ffe2025f;hpb=28fe42eb060d7c9169a9b344678494e7d366a6b0;p=rocksndiamonds.git diff --git a/src/game_em/synchro_1.c b/src/game_em/synchro_1.c index 1fe8faf0..c6f00674 100644 --- a/src/game_em/synchro_1.c +++ b/src/game_em/synchro_1.c @@ -11,7 +11,10 @@ #include "display.h" +#if 0 extern int centered_player_nr; +#endif + 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; - can_move = (centered_player_nr != -1 || checkIfAllPlayersFitToScreen()); + can_move = (game.centered_player_nr != -1 || + checkIfAllPlayersFitToScreen()); ply->x = oldx; ply->y = oldy;