From: Holger Schemel Date: Wed, 8 May 2024 22:14:49 +0000 (+0200) Subject: fixed wrong sound position in BD engine X-Git-Tag: 4.4.0.0-test-1~3 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=f8089296d798fe0cc07aef4789f3b049730f9daa;p=rocksndiamonds.git fixed wrong sound position in BD engine --- diff --git a/src/game_bd/bd_caveengine.c b/src/game_bd/bd_caveengine.c index 2793d26f..ee1b4ee2 100644 --- a/src/game_bd/bd_caveengine.c +++ b/src/game_bd/bd_caveengine.c @@ -3633,7 +3633,7 @@ void gd_cave_iterate(GdCave *cave, GdDirection player_move, boolean player_fire, { if ((amoeba_count > 0 && cave->amoeba_state == GD_AM_AWAKE) || (amoeba_2_count > 0 && cave->amoeba_2_state == GD_AM_AWAKE)) - play_sound_of_element(cave, O_AMOEBA, x, y); + play_sound_of_element(cave, O_AMOEBA, -1, -1); } // pneumatic hammer sound - overrides everything.