diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-08-06 11:33:01 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-08-08 16:26:31 -0700 |
commit | 7cfe1639b5874ad7243bcbe5781ae0c6ae6adf4b (patch) | |
tree | d2242888afdf31060cd428d3c9b35b97c01ee90c /LICENSE | |
parent | ff40afc1d86789c988d6bce33af9995646f0e963 (diff) | |
download | subsurface-7cfe1639b5874ad7243bcbe5781ae0c6ae6adf4b.tar.gz |
Planner: pass dive / cylinder pair to track_ascent_gas()
Pass the dive to be planned to track_ascent_gas and don't use
the displayed_dive. For convenience, pass the cylinder-id, since
the function can now access the cylinder of the dive by itself.
This makes the callers less verbose.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions