From 5329ed10a7f555a9ece73f37b5a2a990315fdac7 Mon Sep 17 00:00:00 2001 From: curt Date: Tue, 10 Jan 2006 02:49:52 +0000 Subject: [PATCH] Cygwin fix. --- src/Sound/fg_fx.cxx | 1 + src/Sound/fg_fx.hxx | 4 ++++ 2 files changed, 5 insertions(+) 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