Sound ready.
This commit is contained in:
1 parent
7d15427dd9
commit
b0080fd80a
11 files changed
+363
-21
No files matched your search
@@ -325,7 +325,7 @@ float loader::play_sound(int soundIndex)
|
||||
{
|
||||
if (soundIndex <= 0)
|
||||
return 0.0;
|
||||
Sound::PlaySound((int)sound_list[soundIndex].WavePtr, 0, 7, 5, 0);
|
||||
Sound::PlaySound(sound_list[soundIndex].WavePtr, 0, 7, WMIX_HIPRIORITY | WMIX_CLEARQUEUE, 0);
|
||||
return sound_list[soundIndex].Duration;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user