X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fgame_em%2Finit.c;h=0486f87b295fcf7a075b4ecc68bf881eda809f40;hb=d44b582de43d0e120cb225009a378cc08400080a;hp=70da7982cd8159f441c8a7b926ede395ea1f93cc;hpb=a0f9dd84ca26309a8ab518caed02a0ce7debd4e2;p=rocksndiamonds.git diff --git a/src/game_em/init.c b/src/game_em/init.c index 70da7982..0486f87b 100644 --- a/src/game_em/init.c +++ b/src/game_em/init.c @@ -63,7 +63,7 @@ void em_close_all(void) void play_element_sound(int x, int y, int sample, int element) { - PlayLevelSound_EM(x, y, element, sample); + PlayLevelSound_EM(CAVE_POS_X(x), CAVE_POS_Y(y), element, sample); } void play_sound(int x, int y, int sample)