]> git.mxchange.org Git - flightgear.git/commitdiff
Revert a part of the past patch. It still does not crash
authorfrohlich <frohlich>
Sun, 23 Apr 2006 18:44:22 +0000 (18:44 +0000)
committerfrohlich <frohlich>
Sun, 23 Apr 2006 18:44:22 +0000 (18:44 +0000)
but you can hear again the 737 ...

src/Sound/fg_fx.cxx

index a7605934997b1612069d7c30da3215c051081773..b04d9a46fc14ef90018b77778144bbebe2b29686 100644 (file)
@@ -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 );