Changeset 902:91ae223c5ce8 for src
- Timestamp:
- 05/06/18 08:29:02 (7 years ago)
- Branch:
- version_0.39_maint
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/xplane.py
r893 r902 1434 1434 1435 1435 flapsControl = data[self._monidx_flapsControl] 1436 flapsIndex = int( flapsControl * (len(self._flapsNotches)-1))1436 flapsIndex = int(round(flapsControl * (len(self._flapsNotches)-1))) 1437 1437 state.flapsSet = 0 if flapsIndex<1 else self._flapsNotches[flapsIndex] 1438 1438
Note:
See TracChangeset
for help on using the changeset viewer.