Hi
I've noticed that in fgrun there's no way to pass a working 'carrier'
location to fgfs, and this fixes it.
As it is now, both --airport and --carrier are passed, and fgfs defaults to
the airport location, while after applying this fix, if the carrier field is
not empty, the airport selection will be nulled-out and won't be passed to
fgfs.
Tested on Ubuntu 9.04.
Tom
Index: wizard_funcs.cxx
===================================================================
--- wizard_funcs.cxx (revision 517)
+++ wizard_funcs.cxx (working copy)
@@ -2029,7 +2029,10 @@
airports_->get_selected_name().c_str() );
p.set( "carrier", carrier_->value() );
if ( carrier_->value() != string() )
- p.set( "parkpos", parkpos_->value() );
+ {
+ p.set( "airport", "");
+ p.set( "parkpos", parkpos_->value() );
+ }
else
p.set( "parkpos", airports_->get_selected_parking().c_str() );
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel