更新 'src/Sound/voice.cxx'

next
zhongjin 2 years ago
parent 6953038f63
commit 6bda97e9a5

@ -127,9 +127,6 @@ void FGVoiceMgr::shutdown()
void FGVoiceMgr::update(double dt)
{
SG_LOG(SG_SOUND, SG_INFO, "FGVoice::update " << dt );
if (!_enabled)
return;
@ -221,6 +218,7 @@ bool FGVoiceMgr::FGVoice::speak(void)
const string s = _msg.front();
_msg.pop();
//zhongjin 播放语音
speak(s);
return !_msg.empty();

Loading…
Cancel
Save