From 38676acfad010df20fd344ae35588565ee95c158 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Mon, 6 Jan 2025 19:13:17 +0100 Subject: [PATCH] fixed removing life if BD style intermission level lost --- src/game.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game.c b/src/game.c index e9710f30..8b102df3 100644 --- a/src/game.c +++ b/src/game.c @@ -3758,13 +3758,13 @@ void InitGame(void) game_bd.global_lives = 0; game_bd.global_score = 0; } - else if (restarting && game_bd.global_lives > 1) + 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--; } - else if (restarting || game_status == GAME_MODE_MAIN) + else if (restarting_same_level || game_status == GAME_MODE_MAIN) { // newly started BD game with multiple lives (or restarted BD game, but no remaining lives), // so set initial number of lives and reset global score -- 2.34.1