From: Holger Schemel Date: Sun, 19 Jan 2025 15:49:43 +0000 (+0100) Subject: fixed adding extra life when playing BD games with multiple lives X-Git-Tag: 4.4.0.2~4 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=b13ec8015f856a227512427b5d2307ff9cc18658;p=rocksndiamonds.git fixed adding extra life when playing BD games with multiple lives --- 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;