Flushing sfx queue on abort; bug #700

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1577 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
avolkov
2005-03-16 04:17:15 +00:00
parent 1c59a3e7fe
commit 0b0f74b97d
+6
View File
@@ -1097,6 +1097,12 @@ RedrawQueue (BOOLEAN clear)
FlushSounds ();
}
else
{ // sfx queue needs to be flushed when aborting
ProcessSound ((SOUND)~0, NULL);
FlushSounds ();
}
DisplayLinks = MakeLinks (END_OF_LIST, END_OF_LIST);
}