diff --git a/src/Sound/fg_fx.cxx b/src/Sound/fg_fx.cxx index b2196b7a5..5840456c3 100644 --- a/src/Sound/fg_fx.cxx +++ b/src/Sound/fg_fx.cxx @@ -173,6 +173,7 @@ FGFX::update (double dt) void FGFX::play_message( SGSoundSample *_sample ) { + _sample->set_volume( 1.0 ); _samplequeue.push( _sample ); } void diff --git a/src/Sound/fg_fx.hxx b/src/Sound/fg_fx.hxx index 61aee36ec..08d690c88 100644 --- a/src/Sound/fg_fx.hxx +++ b/src/Sound/fg_fx.hxx @@ -24,6 +24,10 @@ #ifndef __FGFX_HXX #define __FGFX_HXX 1 +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include