From b13ec8015f856a227512427b5d2307ff9cc18658 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sun, 19 Jan 2025 16:49:43 +0100 Subject: [PATCH] fixed adding extra life when playing BD games with multiple lives --- src/game_bd/bd_gameplay.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game_bd/bd_gameplay.c b/src/game_bd/bd_gameplay.c index 791711e4..67a25f64 100644 --- a/src/game_bd/bd_gameplay.c +++ b/src/game_bd/bd_gameplay.c @@ -229,8 +229,8 @@ GdGame *gd_game_new(const int cave, const int level) game->cave_num = cave; game->level_num = level; - game->player_lives = gd_caveset_data->initial_lives; - game->player_score = 0; + game->player_lives = game_bd.global_lives; + game->player_score = game_bd.global_score; game->player_move = GD_MV_STILL; game->player_move_stick = FALSE; -- 2.34.1