Changeset 530:3fa228e58954 for src


Ignore:
Timestamp:
08/19/13 06:20:41 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Fixed problems with the detection of the FSX Tu-154 (re #208)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/fsuipc.py

    r529 r530  
    20052005        print "PTT154Model.doesHandle", aircraft.type, name, airPath
    20062006        return aircraft.type==const.AIRCRAFT_T154 and \
    2007                (name.find("Tu-154")!=-1 or name.find("Tu154B")) and \
     2007               (name.find("Tu-154")!=-1 or name.find("Tu154B")!=-1) and \
    20082008               os.path.basename(airPath).startswith("154b_")
    20092009
     
    20272027        self._fsType = fsType
    20282028
    2029         super(PTT154NGModel, self).addMonitoringData(data, fsType)
     2029        super(PTT154Model, self).addMonitoringData(data, fsType)
    20302030
    20312031    def getAircraftState(self, aircraft, timestamp, data):
Note: See TracChangeset for help on using the changeset viewer.