From 5393cc6b38cabd849944b9403d6c9bcd21dda644 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Mon, 6 Jan 2025 19:24:56 +0100 Subject: [PATCH] fixed keeping life if BD style intermission restarted --- src/game.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) { -- 2.34.1