SHERLOCK: RT: SImplification of old speech code

This commit is contained in:
Paul Gilbert 2015-08-13 18:43:51 -04:00
parent 336abef401
commit e02965c40a
5 changed files with 11 additions and 15 deletions

View file

@ -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)