Skip to content

Commit

Permalink
Update bp.c
Browse files Browse the repository at this point in the history
Tu154m check back in.
Nosewheel power check out
  • Loading branch information
KSI65 authored Nov 9, 2023
1 parent f5dd6c1 commit 19fe140
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/bp.c
Original file line number Diff line number Diff line change
Expand Up @@ -814,20 +814,22 @@ read_gear_info(void)
}
}
/*
* Comment out the whole section as it seems not to work in XP12
* Change the nw check condition to stop the pushback failure message
* The Tu-154M needs some special care here, because it overrides
* gear_steers to 0 until the hydraulics are powered. We don't want
* to refuse to work in that case, so just hard-set the nw_i to 0.
*
*/
if (acf_is_felis_tu154m()) {
bp.acf.nw_i = bp.acf.gear_is[0];
bp.acf.nw_z = tire_z[bp.acf.gear_is[0]];
}
*if (bp.acf.nw_i == -1) {
* XPLMSpeakString(_("Pushback failure: aircraft appears to not "
* "have any steerable gears."));
* return (B_FALSE);
*}
/* Comment out the nw check entirely */
/*
* if (bp.acf.nw_i == 0) {
* XPLMSpeakString(_("Pushback failure: aircraft appears to not "
* "have any steerable gears."));
* return (B_FALSE);
* }
*/
/* Nose gear strut length and tire radius */
VERIFY3S(dr_getvf(&drs.leg_len, &bp.acf.nw_len, bp.acf.nw_i, 1), ==, 1);
Expand Down

0 comments on commit 19fe140

Please sign in to comment.