SHERLOCK: RT: SImplification of old speech code
This commit is contained in:
parent
336abef401
commit
e02965c40a
5 changed files with 11 additions and 15 deletions
|
@ -1637,13 +1637,12 @@ void ScalpelUserInterface::doTalkControl() {
|
|||
people.setTalking(0);
|
||||
|
||||
if (!talk._statements[_selector]._voiceFile.empty() && sound._voices) {
|
||||
sound.playSound(talk._statements[_selector]._voiceFile, WAIT_RETURN_IMMEDIATELY);
|
||||
sound.playSpeech(talk._statements[_selector]._voiceFile);
|
||||
|
||||
// Set voices as an indicator for waiting
|
||||
sound._voices = 2;
|
||||
sound._speechOn = *sound._soundIsOn;
|
||||
} else {
|
||||
sound._speechOn = false;
|
||||
sound._speechPlaying = false;
|
||||
}
|
||||
|
||||
if (IS_3DO)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue