mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Shorten the first leg of the planner.
With the addition of gas reserves in recreational mode we need to make sure that the first leg is short enough that we have more gas left than the specified reserve even when using small cylinders like LP72. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f07ba421d1
commit
f8a808bcaf
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ void DivePlannerPointsModel::createSimpleDive()
|
|||
if (!prefs.drop_stone_mode)
|
||||
plannerModel->addStop(M_OR_FT(15, 45), 1 * 60, &gas, 0, true);
|
||||
|
||||
plannerModel->addStop(M_OR_FT(15, 45), 40 * 60, &gas, 0, true);
|
||||
plannerModel->addStop(M_OR_FT(15, 45), 20 * 60, &gas, 0, true);
|
||||
if (!isPlanner()) {
|
||||
plannerModel->addStop(M_OR_FT(5, 15), 42 * 60, &gas, 0, true);
|
||||
plannerModel->addStop(M_OR_FT(5, 15), 45 * 60, &gas, 0, true);
|
||||
|
|
Loading…
Add table
Reference in a new issue