From: Holger Schemel Date: Mon, 16 Sep 2024 19:44:29 +0000 (+0200) Subject: changed BD engine to match new GDash code (cave start) X-Git-Tag: 4.4.0.0-test-4~223 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=2602b85cefbdb1b5bc7f5f4b16dce1a0aba33468;p=rocksndiamonds.git changed BD engine to match new GDash code (cave start) --- diff --git a/src/game_bd/bd_caveengine.c b/src/game_bd/bd_caveengine.c index d37b7f52..93a604ff 100644 --- 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); }