From 252b5243fd74662975a3229be6b9727b925e9e5e Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Mon, 6 Jan 2025 19:20:53 +0100 Subject: [PATCH] fixed removing life twice if BD style level lost --- src/game.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/game.c b/src/game.c index 8b102df3..78947c2f 100644 --- a/src/game.c +++ b/src/game.c @@ -5320,11 +5320,8 @@ void GameEnd(void) // do not restart intermission after game over (but continue with next level) if (!level.bd_intermission) { - // only decrement number of lives for normal levels, not for intermissions - game_bd.global_lives--; - // do not handle game end if game over and playing with remaining multiple lives - if (game_bd.global_lives > 0) + if (game_bd.global_lives > 1) restart_game = TRUE; } } -- 2.34.1