projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16a43c1
)
changed BD engine to match new GDash code (cave start)
author
Holger Schemel
<holger.schemel@virtion.de>
Mon, 16 Sep 2024 19:44:29 +0000
(21:44 +0200)
committer
Holger Schemel
<holger.schemel@virtion.de>
Mon, 16 Sep 2024 19:44:29 +0000
(21:44 +0200)
src/game_bd/bd_caveengine.c
patch
|
blob
|
history
diff --git
a/src/game_bd/bd_caveengine.c
b/src/game_bd/bd_caveengine.c
index d37b7f5223453029cc4321e6980947e175d241fd..93a604ffb4df1e77dc28c13828414d9add251df1 100644
(file)
--- a/
src/game_bd/bd_caveengine.c
+++ b/
src/game_bd/bd_caveengine.c
@@
-4238,6
+4238,9
@@
void gd_cave_iterate(GdCave *cave, GdDirection player_move, boolean player_fire,
cave->creatures_backwards = !cave->creatures_backwards;
}
+ if (cave->player_state == GD_PL_NOT_YET)
+ cave->player_state = GD_PL_LIVING;
+
gd_sound_play(cave, GD_S_CRACKING, O_INBOX, -1, -1);
}