rnd-20020509-1-src
[rocksndiamonds.git] / src / game.c
index 63c05b56dcab7783d9b652599623f09358c4eeda..d096ac20d4e1f6492ba149ab8345ca157947a4af 100644 (file)
@@ -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)