X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame.c;h=d096ac20d4e1f6492ba149ab8345ca157947a4af;hb=9a7426789c04bf396df78eb915522f9e57af985e;hp=63c05b56dcab7783d9b652599623f09358c4eeda;hpb=7ff43d7ba40390c41b10888aad0a35dfe3cad82a;p=rocksndiamonds.git diff --git a/src/game.c b/src/game.c index 63c05b56..d096ac20 100644 --- a/src/game.c +++ b/src/game.c @@ -1003,7 +1003,7 @@ void GameWon() { if (!tape.playing && setup.sound_loops) PlaySoundExt(SND_GAME_LEVELTIME_BONUS, PSND_MAX_VOLUME, PSND_MAX_RIGHT, - PSND_LOOP); + SND_CTRL_PLAY_LOOP); while (TimeLeft > 0) { @@ -1029,7 +1029,7 @@ void GameWon() { if (!tape.playing && setup.sound_loops) PlaySoundExt(SND_GAME_LEVELTIME_BONUS, PSND_MAX_VOLUME, PSND_MAX_RIGHT, - PSND_LOOP); + SND_CTRL_PLAY_LOOP); while (TimePlayed < 999) { @@ -6460,7 +6460,7 @@ void PlaySoundLevel(int x, int y, int sound_nr) volume -= volume * (dx > dy ? dx : dy) / silence_distance; } - PlaySoundExt(sound_nr, volume, stereo, PSND_NO_LOOP); + PlaySoundExt(sound_nr, volume, stereo, SND_CTRL_PLAY_SOUND); } void RaiseScore(int value)