mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-07 02:39:56 +00:00
TSAGE: Fix to set _endAction when playing voice samples
This commit is contained in:
parent
067ffbcb46
commit
5c9d752e1d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user