TTS: Fix language setting.
This commit is contained in:
parent
94d17b1853
commit
b9d3c84db4
6 changed files with 19 additions and 11 deletions
|
@ -638,8 +638,6 @@ void GuiManager::initTextToSpeech() {
|
|||
Common::String currentLanguage = TransMan.getCurrentLanguage();
|
||||
if (currentLanguage == "C")
|
||||
currentLanguage = "en";
|
||||
else
|
||||
currentLanguage.setChar('\0', 2);
|
||||
ttsMan->setLanguage(currentLanguage);
|
||||
#endif
|
||||
int volume = (ConfMan.getInt("speech_volume", "scummvm") * 100) / 256;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue