Ignore:
Timestamp:
05/15/12 15:15:05 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Added the Using FS2Crew option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/checks.py

    r170 r183  
    549549                                      const.AIRCRAFT_T154]
    550550        return (flight.stage!=const.STAGE_PARKING or \
    551                 not flight.options.fs2Crew) and \
     551                not flight.config.usingFS2Crew) and \
    552552                not state.antiCollisionLightsOn and \
    553553                ((isTupolev and max(state.n1[1:])>5) or \
     
    721721        limit = self.getLimit(flight, aircraft, state)
    722722        if limit is not None:
    723             if flight.options.compensation is not None:
    724                 limit += flight.options.compensation
     723            #if flight.options.compensation is not None:
     724            #    limit += flight.options.compensation
    725725            return self.getWeight(state)>limit
    726726
Note: See TracChangeset for help on using the changeset viewer.