From: Holger Schemel Date: Mon, 6 Jan 2025 18:20:53 +0000 (+0100) Subject: fixed removing life twice if BD style level lost X-Git-Tag: 4.4.0.1~34 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=252b5243fd74662975a3229be6b9727b925e9e5e;p=rocksndiamonds.git fixed removing life twice if BD style level lost --- 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; } }