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

The takeoff audio file is played only, if the aircraft is on the ground (#143)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/soundsched.py

    r298 r352  
    213213                                        const.STAGE_TAKEOFF,
    214214                                        extraCondition = lambda flight, state:
    215                                         state.landingLightsOn or state.groundSpeed>80,
     215                                        state.onTheGround,
    216216                                        considerHotkey = False))
    217217        self._sounds.append(SimpleSound(const.SOUND_CRUISE, const.STAGE_CRUISE))
Note: See TracChangeset for help on using the changeset viewer.