Ignore:
Timestamp:
04/21/24 14:03:59 (2 weeks ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
Phase:
public
Message:

The new adult passenger weight query functions are used (re #386).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/flight.py

    r1139 r1142  
    26782678        zfw += (self._numCabinCrew.get_int() - bookedFlight.dowNumCabinCrew) *  \
    26792679            const.WEIGHT_CABIN_CREW
    2680         zfw += self._numPassengers.get_int() * \
    2681             (const.WEIGHT_PASSENGER_CHARTER
    2682              if bookedFlight.flightType==const.FLIGHTTYPE_CHARTER
    2683              else const.WEIGHT_PASSENGER)
     2680        zfw += self._numPassengers.get_int() * bookedFlight.passengerWeight
    26842681        zfw += self._numChildren.get_int() * const.WEIGHT_CHILD
    26852682        zfw += self._numInfants.get_int() * const.WEIGHT_INFANT
Note: See TracChangeset for help on using the changeset viewer.