summaryrefslogtreecommitdiffstats
path: root/planner.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-04 11:40:02 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-04 11:40:02 -0700
commitcc86d68c86110bb16b5a75dbd50d35dca39c0719 (patch)
tree30d900cfdc85685b7c9d975b626e281222e1a092 /planner.c
parentd4e37453704edf433a28f457d25c608d8eac1bd3 (diff)
downloadsubsurface-cc86d68c86110bb16b5a75dbd50d35dca39c0719.tar.gz
Planner: don't set cylinder start and end pressure when adding dive
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'planner.c')
-rw-r--r--planner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/planner.c b/planner.c
index fcbb579d9..31ba3310c 100644
--- a/planner.c
+++ b/planner.c
@@ -260,7 +260,7 @@ static void create_dive_from_plan(struct diveplan *diveplan, bool track_gas)
#endif
// reset the cylinders and clear out the samples and events of the
// displayed dive so we can restart
- reset_cylinders(&displayed_dive);
+ reset_cylinders(&displayed_dive, track_gas);
dc = &displayed_dive.dc;
free(dc->sample);
dc->sample = NULL;