aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.cpp
diff options
context:
space:
mode:
authorGravatar Joakim Bygdell <j.bygdell@gmail.com>2015-04-05 12:07:11 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-04-05 07:40:33 -0700
commitf8a808bcaf8cf18ae6892e1e680006fc3f702d09 (patch)
tree77529e606df99037372a3e5547a5a6878f9c5b24 /qt-ui/diveplanner.cpp
parentf07ba421d177ae5da31847a576da0fc9aee534f2 (diff)
downloadsubsurface-f8a808bcaf8cf18ae6892e1e680006fc3f702d09.tar.gz
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>
Diffstat (limited to 'qt-ui/diveplanner.cpp')
-rw-r--r--qt-ui/diveplanner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp
index 4f264030f..40ec3986f 100644
--- a/qt-ui/diveplanner.cpp
+++ b/qt-ui/diveplanner.cpp
@@ -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);