diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-07-04 11:40:02 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-04 11:40:02 -0700 |
commit | cc86d68c86110bb16b5a75dbd50d35dca39c0719 (patch) | |
tree | 30d900cfdc85685b7c9d975b626e281222e1a092 /planner.c | |
parent | d4e37453704edf433a28f457d25c608d8eac1bd3 (diff) | |
download | subsurface-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |