X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_em%2Finit.c;h=b2a396dfcea8ad972ec86170e0736922962a554e;hb=HEAD;hp=d08d8db1cd2ac7dd26fd3bca9fa4b494c15367d2;hpb=41759a7c6f2280ab6895fbee41d616a2864c9a18;p=rocksndiamonds.git diff --git a/src/game_em/init.c b/src/game_em/init.c index d08d8db1..b2a396df 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)