Please apply this patch to the c182rg

controls.geartoggle won't allow gear handle to move to the "down"
position on the ground after it is moved to the "up" position.


Thanks,

Ron

Index: Nasal/squatswitch.nas
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/c182rg/Nasal/squatswitch.nas,v
retrieving revision 1.2
diff -u -w -r1.2 squatswitch.nas
--- Nasal/squatswitch.nas	21 Jan 2007 16:28:22 -0000	1.2
+++ Nasal/squatswitch.nas	28 Jan 2007 17:48:20 -0000
@@ -52,3 +52,6 @@
     }
     gearFncy();
 }
+
+controls.gearToggle = func { controls.gearDown(getprop("/controls/gear/gear-handle-down") > 0 ? -1 : 1); }
+
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to