mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
d4e3745370
commit
cc86d68c86
4 changed files with 7 additions and 7 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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue