mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
TWINE: fixed interupted spoken text
https://bugs.scummvm.org/ticket/11982
This commit is contained in:
parent
a97ef349ce
commit
ed7364101d
@ -384,6 +384,8 @@ void GameState::processFoundItem(int32 item) {
|
||||
}
|
||||
}
|
||||
|
||||
_engine->_text->playVoxSimple(_engine->_text->currDialTextEntry);
|
||||
|
||||
_engine->lbaTime++;
|
||||
}
|
||||
|
||||
|
@ -620,9 +620,11 @@ bool Text::displayText(int32 index, bool showText, bool playVox) {
|
||||
aborted = true;
|
||||
break;
|
||||
}
|
||||
|
||||
_engine->_text->playVoxSimple(_engine->_text->currDialTextEntry);
|
||||
}
|
||||
}
|
||||
while (_engine->_sound->isSamplePlaying(currDialTextEntry)) {
|
||||
while (_engine->_text->playVoxSimple(_engine->_text->currDialTextEntry)) {
|
||||
ScopedFPS scopedFps;
|
||||
_engine->readKeys();
|
||||
if (_engine->shouldQuit() || _engine->_input->toggleAbortAction()) {
|
||||
|
Loading…
Reference in New Issue
Block a user