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-861f7616d084master
parent
84002ab665
commit
31b3895caf
|
@ -764,8 +764,10 @@ bool seq_Update()
|
|||
|
||||
alGetSourcei(audiodata.source, AL_SOURCE_STATE, &sourcestate);
|
||||
|
||||
if (!videobuf_ready && !audiobuf_ready && PHYSFS_eof(fpInfile) && sourcestate != AL_PLAYING &&
|
||||
audiodata.audiobuf_fill == 0)
|
||||
if (PHYSFS_eof(fpInfile)
|
||||
&& !videobuf_ready
|
||||
&& ((!audiobuf_ready && (audiodata.audiobuf_fill == 0)) || audio_Disabled())
|
||||
&& sourcestate != AL_PLAYING )
|
||||
{
|
||||
video_write(false);
|
||||
seq_Shutdown();
|
||||
|
|
Loading…
Reference in New Issue