From: frohlich Date: Sun, 23 Apr 2006 18:44:22 +0000 (+0000) Subject: Revert a part of the past patch. It still does not crash X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1aa128862046bfd70deaa184211da32fec6c9040;p=flightgear.git Revert a part of the past patch. It still does not crash but you can hear again the 737 ... --- diff --git a/src/Sound/fg_fx.cxx b/src/Sound/fg_fx.cxx index a76059349..b04d9a46f 100644 --- a/src/Sound/fg_fx.cxx +++ b/src/Sound/fg_fx.cxx @@ -129,10 +129,6 @@ FGFX::update (double dt) { SGSoundMgr *smgr = globals->get_soundmgr(); - if (smgr->is_working() == false) { - return; - } - // command sound manger bool pause = _pause->getBoolValue(); if ( pause != last_pause ) { @@ -193,9 +189,6 @@ FGFX::play_message( SGSoundSample *_sample ) void FGFX::play_message( const string path, const string fname ) { - if (globals->get_soundmgr()->is_working() == false) { - return; - } SGSoundSample *sample; sample = new SGSoundSample( path.c_str(), fname.c_str() ); play_message( sample );