From: "David Megginson" <[EMAIL PROTECTED]> > I've added a new property, /controls/parking-brake (also available > through FGControls). For both JSBSim and the YASim C172, this > property overrides the toe brakes for the main gear (actually, for > YASim, it is just added then clamped).
in JSBSim.cxx, you wrote : FCS->SetLBrake(fmax(globals->get_controls()->get_brake(0), parking_brake)); FCS->SetRBrake(fmax(globals->get_controls()->get_brake(1), parking_brake)); MSVC has no 'fmax' function. 'max' is ok (a macro !). Cheers, -Fred _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel