更新 'src/Sound/voice.cxx'
This commit is contained in:
+1
-3
@@ -127,9 +127,6 @@ void FGVoiceMgr::shutdown()
|
|||||||
void FGVoiceMgr::update(double dt)
|
void FGVoiceMgr::update(double dt)
|
||||||
{
|
{
|
||||||
|
|
||||||
SG_LOG(SG_SOUND, SG_INFO, "FGVoice::update " << dt );
|
|
||||||
|
|
||||||
|
|
||||||
if (!_enabled)
|
if (!_enabled)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@@ -221,6 +218,7 @@ bool FGVoiceMgr::FGVoice::speak(void)
|
|||||||
const string s = _msg.front();
|
const string s = _msg.front();
|
||||||
_msg.pop();
|
_msg.pop();
|
||||||
|
|
||||||
|
//zhongjin 播放语音
|
||||||
speak(s);
|
speak(s);
|
||||||
|
|
||||||
return !_msg.empty();
|
return !_msg.empty();
|
||||||
|
|||||||
Reference in New Issue
Block a user