From: Holger Schemel Date: Sat, 25 Aug 2018 13:04:08 +0000 (+0200) Subject: disabled auto-playing next level when playing in network mode X-Git-Tag: 4.1.1.0~54 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=22768568d14a44688c845d73b530dcaf38f0a140;p=rocksndiamonds.git disabled auto-playing next level when playing in network mode --- diff --git a/src/game.c b/src/game.c index fb56f906..36f0a08f 100644 --- a/src/game.c +++ b/src/game.c @@ -4724,7 +4724,8 @@ void GameEnd() DrawHallOfFame(last_level_nr, hi_pos); } - else if (setup.auto_play_next_level && setup.increment_levels) + else if (setup.auto_play_next_level && setup.increment_levels && + !network_playing) { StartGameActions(network.enabled, setup.autorecord, level.random_seed); } diff --git a/src/screens.c b/src/screens.c index 4b8af186..337bd565 100644 --- a/src/screens.c +++ b/src/screens.c @@ -4631,7 +4631,8 @@ void HandleHallOfFame(int mx, int my, int dx, int dy, int button) FadeSound(SND_BACKGROUND_SCORES); if (game_status_last_screen == GAME_MODE_PLAYING && - setup.auto_play_next_level && setup.increment_levels) + setup.auto_play_next_level && setup.increment_levels && + !network_playing) { StartGameActions(network.enabled, setup.autorecord, level.random_seed); }