From 19a8dacdb4d1837570c4e2dfe6580214b0692c7b Mon Sep 17 00:00:00 2001
From: curt <curt>
Date: Tue, 6 Nov 2001 22:32:14 +0000
Subject: [PATCH] - removed references to FGSoundMgr

---
 src/Controls/controls.hxx | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/Controls/controls.hxx b/src/Controls/controls.hxx
index c4376e3e2..225a05a35 100644
--- a/src/Controls/controls.hxx
+++ b/src/Controls/controls.hxx
@@ -26,7 +26,6 @@
 
 #include <simgear/misc/props.hxx>
 
-#include <Sound/soundmgr.hxx>
 #include <Main/fgfs.hxx>
 #include <Main/globals.hxx>
 
@@ -158,16 +157,10 @@ public:
 	CLAMP( &rudder, -1.0, 1.0 );
     }
     inline void set_flaps( double pos ) {
-	if ( flaps != pos ) {
-	    globals->get_soundmgr()->play_once( "flaps" );
-	}
 	flaps = pos;
 	CLAMP( &flaps, 0.0, 1.0 );
     }
     inline void move_flaps( double amt ) {
-	if ( fabs(amt) > 0.0 ) {
-	    globals->get_soundmgr()->play_once( "flaps" );
-	}
 	flaps += amt;
 	CLAMP( &flaps, 0.0, 1.0 );
     }