that was not what I want. it should stop audio only for immediately stop.

svn-id: r21095
This commit is contained in:
Paweł Kołodziejski 2006-03-05 12:29:13 +00:00
parent 38b82fb585
commit 7a6ff46b38

View File

@ -1367,10 +1367,12 @@ void SmushPlayer::play(const char *filename, int32 offset, int32 startFrame) {
debugC(DEBUG_SMUSH, "Smush stats: BackendUpdateScreen( %03d )", end_time - start_time);
}
if (_vm->_smushVideoShouldFinish || _vm->_quit || _vm->_saveLoadFlag) {
if (_vm->_quit || _vm->_saveLoadFlag) {
_smixer->stop();
break;
}
if (_vm->_smushVideoShouldFinish || _vm->_quit || _vm->_saveLoadFlag)
break;
_vm->_system->delayMillis(10);
}