From: Holger Schemel Date: Mon, 6 Jan 2025 18:24:56 +0000 (+0100) Subject: fixed keeping life if BD style intermission restarted X-Git-Tag: 4.4.0.1~33 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=5393cc6b38cabd849944b9403d6c9bcd21dda644;p=rocksndiamonds.git fixed keeping life if BD style intermission restarted --- diff --git a/src/game.c b/src/game.c index 78947c2f..dd3106ca 100644 --- a/src/game.c +++ b/src/game.c @@ -3761,8 +3761,11 @@ void InitGame(void) else if (restarting_same_level && game_bd.global_lives > 1) { // restarted BD game with multiple (and remaining) lives, so decrement number of lives - // (also for intermissions; extra life will be added again later) game_bd.global_lives--; + + // subtract another life for restarted intermissions (extra life will be added again later) + if (level.bd_intermission) + game_bd.global_lives--; } else if (restarting_same_level || game_status == GAME_MODE_MAIN) {