Closes & fixes ticket:99

Using --nosound is handled correctly for the FMVs now.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6125 4a71c877-e1ca-e34f-864e-861f7616d084
master
Buginator 2008-10-11 03:21:03 +00:00
parent 84002ab665
commit 31b3895caf
1 changed files with 4 additions and 2 deletions

View File

@ -764,8 +764,10 @@ bool seq_Update()
alGetSourcei(audiodata.source, AL_SOURCE_STATE, &sourcestate); alGetSourcei(audiodata.source, AL_SOURCE_STATE, &sourcestate);
if (!videobuf_ready && !audiobuf_ready && PHYSFS_eof(fpInfile) && sourcestate != AL_PLAYING && if (PHYSFS_eof(fpInfile)
audiodata.audiobuf_fill == 0) && !videobuf_ready
&& ((!audiobuf_ready && (audiodata.audiobuf_fill == 0)) || audio_Disabled())
&& sourcestate != AL_PLAYING )
{ {
video_write(false); video_write(false);
seq_Shutdown(); seq_Shutdown();