TSAGE: Fix to set _endAction when playing voice samples

This commit is contained in:
Paul Gilbert 2013-11-03 08:28:13 -05:00
parent 067ffbcb46
commit 5c9d752e1d

View File

@ -2621,6 +2621,7 @@ bool PlayStream::play(int voiceNum, EventHandler *endAction) {
g_vm->_mixer->playStream(Audio::Mixer::kSpeechSoundType, &_soundHandle,
_audioStream, DisposeAfterUse::YES);
_voiceNum = voiceNum;
_endAction = endAction;
return true;
}