]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/fg_io.cxx
Moved random ground cover object management code (userdata.[ch]xx) over
[flightgear.git] / src / Main / fg_io.cxx
index 458f956c63f554e93a7e4e0726bcdef269fdfd39..e3514841ec1dadc7f138c5748778f9b731527537 100644 (file)
@@ -108,6 +108,11 @@ FGIO::parse_port_config( const string& config )
        if ( protocol == "atc610x" ) {
             FGATC610x *atc610x = new FGATC610x;
            atc610x->set_hz( 30 );
+            if ( tokens.size() > 1 ) {
+                if ( tokens[1] == "no-rudder" ) {
+                    atc610x->set_use_rudder( false );
+                }
+            }
            return atc610x;
        } else if ( protocol == "atlas" ) {
            FGAtlas *atlas = new FGAtlas;