Fixed error in announceText(): wrong flags were passed to vpQueueString
This commit is contained in:
parent
d57700c607
commit
611bd3d142
|
|
@ -289,7 +289,7 @@ void announceText( char* text, VoicePromptQueueFlags_T flags)
|
||||||
if (offset != -1)
|
if (offset != -1)
|
||||||
vpQueueStringTableEntry((const char* const *)(¤tLanguage->languageName + offset));
|
vpQueueStringTableEntry((const char* const *)(¤tLanguage->languageName + offset));
|
||||||
else // just spel it out
|
else // just spel it out
|
||||||
vpQueueString(text, (flags&~(vpqInit|vpqPlayImmediately)));
|
vpQueueString(text, vpAnnounceCommonSymbols);
|
||||||
|
|
||||||
vpPlayIfNeeded(flags);
|
vpPlayIfNeeded(flags);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue