Skip to content

Commit

Permalink
TSAGE: Fix to set _endAction when playing voice samples
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Nov 3, 2013
1 parent 067ffbc commit 5c9d752
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engines/tsage/sound.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit 5c9d752

Please sign in to comment.