Planner: don't set cylinder start and end pressure when adding dive

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-07-04 11:40:02 -07:00
parent d4e3745370
commit cc86d68c86
4 changed files with 7 additions and 7 deletions

View file

@ -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;