Fixed overlapping subtitles when changing tracks

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@572 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
ghaushe
2003-01-22 02:50:41 +00:00
parent e69bc8e1db
commit 9869021294
4 changed files with 3 additions and 3 deletions
@@ -69,6 +69,7 @@ advance_track (int channel_finished)
PlayStream (track_clip[tcur].sample, SPEECH_SOURCE, AL_FALSE,
speechVolumeScale == 0.0f ? AL_FALSE : AL_TRUE);
UnlockMutex (soundSource[SPEECH_SOURCE].stream_mutex);
do_subtitles (~0, 0);
do_subtitles (0, 0);
}
else if (channel_finished == 0)
@@ -64,6 +64,7 @@ advance_track (int channel_finished)
if (tcur < tct)
{
Mix_PlayChannel (VOICE_CHANNEL, track_clip[tcur].chunk, 0);
do_subtitles (~0, 0);
do_subtitles (0, 0);
}
else if (channel_finished == VOICE_CHANNEL)