更新 'src/Sound/voice.cxx'
This commit is contained in:
parent
1bfe8465af
commit
d311579867
@ -86,6 +86,8 @@ void FGVoiceMgr::init()
|
||||
|
||||
SGPropertyNode *base = fgGetNode(VOICE, true);
|
||||
vector<SGPropertyNode_ptr> voices = base->getChildren("voice");
|
||||
|
||||
|
||||
for (unsigned int i = 0; i < voices.size(); i++) {
|
||||
SGPropertyNode_ptr voice = voices[i];
|
||||
if( voice->getBoolValue("festival", false ) ) {
|
||||
@ -207,6 +209,9 @@ bool FGVoiceMgr::FGVoice::speak(void)
|
||||
if (_msg.empty())
|
||||
return false;
|
||||
|
||||
SG_LOG(SG_SOUND, SG_INFO, "FGVoice::speak " << _msg );
|
||||
|
||||
|
||||
const string s = _msg.front();
|
||||
_msg.pop();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user