fixed wrong sound position in BD engine
authorHolger Schemel <info@artsoft.org>
Wed, 8 May 2024 22:14:49 +0000 (00:14 +0200)
committerHolger Schemel <info@artsoft.org>
Wed, 8 May 2024 22:14:49 +0000 (00:14 +0200)
src/game_bd/bd_caveengine.c

index 2793d26f2f93c968e7b4d4d83ff2df997abac611..ee1b4ee2f9740ba97664dba40ad1a5324e59b0d3 100644 (file)
@@ -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.