projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72baf20
)
fixed wrong sound position in BD engine
author
Holger Schemel
<info@artsoft.org>
Wed, 8 May 2024 22:14:49 +0000
(
00:14
+0200)
committer
Holger Schemel
<info@artsoft.org>
Wed, 8 May 2024 22:14:49 +0000
(
00:14
+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 2793d26f2f93c968e7b4d4d83ff2df997abac611..ee1b4ee2f9740ba97664dba40ad1a5324e59b0d3 100644
(file)
--- 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.