fixed cave score (tape score) when playing BD games with multiple lives
authorHolger Schemel <info@artsoft.org>
Tue, 21 Jan 2025 18:03:09 +0000 (19:03 +0100)
committerHolger Schemel <info@artsoft.org>
Tue, 21 Jan 2025 17:04:24 +0000 (18:04 +0100)
src/game_bd/main_bd.c

index 3ef71561e61328950241c9c2d2f3ed6db613bc0b..290b6cb50ef4723a2954099ddbe0ada5557ca721 100644 (file)
@@ -294,7 +294,7 @@ static void UpdateGameDoorValues_BD(void)
 
   game_bd.time_left = time_left;
   game_bd.gems_still_needed = gems_still_needed;
-  game_bd.score = game_bd.game->player_score;                  // use cave score here
+  game_bd.score = game_bd.game->cave_score;                    // use cave score here
 
   if (game.no_level_time_limit)
     game_bd.time_left = getTimePlayed_BD();