From: Holger Schemel Date: Fri, 8 Mar 2024 18:52:01 +0000 (+0100) Subject: added special handling of BD intermission levels when skipping levels X-Git-Tag: 4.4.0.0-test-1~231 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=5888edfa42bf4f5cf1772453b60937c7cedffe08;p=rocksndiamonds.git added special handling of BD intermission levels when skipping levels --- diff --git a/src/screens.c b/src/screens.c index 2a3fe054..f623a7a5 100644 --- a/src/screens.c +++ b/src/screens.c @@ -2131,8 +2131,10 @@ static void HandleMainMenu_SelectLevel(int step, int direction, if (setup.handicap && new_level_nr > leveldir_current->handicap_level) { // skipping levels is only allowed when trying to skip single level - if (setup.skip_levels && new_level_nr == old_level_nr + 1 && - Request("Level still unsolved! Skip it anyway?", REQ_ASK)) + // (also, skipping BD style intermission levels is always possible) + if (new_level_nr == old_level_nr + 1 && + (level.bd_intermission || + (setup.skip_levels && Request("Level still unsolved! Skip it anyway?", REQ_ASK)))) { leveldir_current->handicap_level++; SaveLevelSetup_SeriesInfo();