This commit is contained in:
Glenn Maynard
2005-02-07 06:55:26 +00:00
parent 15a692d4cc
commit 9fc30dc5e2
+1
View File
@@ -314,6 +314,7 @@ static void StartQueuedSounds()
void GameSoundManager::Flush() void GameSoundManager::Flush()
{ {
/* XXX: This is ugly; it'll wait a while, even if there's nothing to flush. */
g_Mutex->Lock(); g_Mutex->Lock();
g_bFlushing = true; g_bFlushing = true;
while( g_bFlushing ) while( g_bFlushing )