mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-24 13:13:58 +00:00
SHERLOCK: RT: Fix setting up speech file to use during cutscenes
This commit is contained in:
parent
29d10d1497
commit
23aba271ff
@ -141,6 +141,7 @@ void Talk::talkTo(const Common::String &filename) {
|
||||
People &people = *_vm->_people;
|
||||
Scene &scene = *_vm->_scene;
|
||||
Screen &screen = *_vm->_screen;
|
||||
Sound &sound = *_vm->_sound;
|
||||
UserInterface &ui = *_vm->_ui;
|
||||
Common::Rect savedBounds = screen.getDisplayBounds();
|
||||
bool abortFlag = false;
|
||||
@ -339,6 +340,10 @@ void Talk::talkTo(const Common::String &filename) {
|
||||
_scriptSelect = select;
|
||||
_speaker = _talkTo;
|
||||
|
||||
// Set up the talk file extension
|
||||
if (IS_ROSE_TATTOO && sound._speechOn && _scriptMoreFlag != 1)
|
||||
sound._talkSoundFile += Common::String::format("%02dB", select + 1);
|
||||
|
||||
// Make a copy of the statement (in case the script frees the statement list), and then execute it
|
||||
Statement statement = _statements[select];
|
||||
doScript(_statements[select]._reply);
|
||||
|
@ -183,7 +183,7 @@ void TattooEngine::loadConfig() {
|
||||
SherlockEngine::loadConfig();
|
||||
|
||||
_transparentMenus = ConfMan.getBool("transparent_windows");
|
||||
_textWindowsOn = ConfMan.getBool("subtitles");
|
||||
_textWindowsOn = ConfMan.getBool("subtitles") || !_sound->_speechOn;
|
||||
}
|
||||
|
||||
void TattooEngine::saveConfig() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user