Can someone please apply the little -diff file attached?
It should target the bugs reported.

Many thanks,
Markus
? -d.diff
Index: B-1B-set.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/B-1B/B-1B-set.xml,v
retrieving revision 1.3
diff -u -p -r1.3 B-1B-set.xml
--- B-1B-set.xml	1 Aug 2007 16:22:48 -0000	1.3
+++ B-1B-set.xml	2 Aug 2007 08:51:12 -0000
@@ -457,7 +457,6 @@ B-1B set file.
 <nasal>
 	<b1b>
 		<file>Aircraft/B-1B/Nasal/b1b.nas</file>
-		<script>init_b1b();</script>
 	</b1b>
 	<b1b-fuel>
 		<module>fuel-aar</module>
Index: Nasal/b1b.nas
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/B-1B/Nasal/b1b.nas,v
retrieving revision 1.3
diff -u -p -r1.3 b1b.nas
--- Nasal/b1b.nas	1 Aug 2007 16:22:48 -0000	1.3
+++ Nasal/b1b.nas	2 Aug 2007 08:51:12 -0000
@@ -1,16 +1,14 @@
+setlistener("/sim/signals/fdm-initialized", func {
+	init_b1b();
+});
+
 init_b1b = func {
 setprop("/sim/current-view/field-of-view", 60);
 setprop("/autopilot/settings/target-pitch-deg", 2);
 setprop("controls/switches/terra-report", 0);
-#setprop("/sim/panel-hotspots", 1);
-#setprop("/engines/engine[0]/running", 0);
-#setprop("/engines/engine[1]/running", 0);
-setprop("sim/multiplay/chat_display", 1);
-setprop("sim/user/callsign", 'B-ONE');
-#setprop("/consumables/fuel/tank[4]/level-gal_us", 1000);
+setprop("/sim/panel-hotspots", 1);
 #fuel_syst();
-settimer(eng_state, 1);
-
+settimer(eng_state, 3);
 print ("B-1B warming up!");
 }
 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to