projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61ede3b
)
fixed adding extra life when playing BD games with multiple lives
author
Holger Schemel
<info@artsoft.org>
Sun, 19 Jan 2025 15:49:43 +0000
(16:49 +0100)
committer
Holger Schemel
<info@artsoft.org>
Sun, 19 Jan 2025 15:49:45 +0000
(16:49 +0100)
src/game_bd/bd_gameplay.c
patch
|
blob
|
history
diff --git
a/src/game_bd/bd_gameplay.c
b/src/game_bd/bd_gameplay.c
index 791711e4fbafc50c1fede77bdc4b6ad4efacd114..67a25f645c97ce10b30a035b96ca1d08fb0d2f6a 100644
(file)
--- 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 = g
d_caveset_data->initi
al_lives;
- game->player_score =
0
;
+ game->player_lives = g
ame_bd.glob
al_lives;
+ game->player_score =
game_bd.global_score
;
game->player_move = GD_MV_STILL;
game->player_move_stick = FALSE;