summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/planner.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/planner.c b/core/planner.c
index 5a50130fd..338b89cd2 100644
--- a/core/planner.c
+++ b/core/planner.c
@@ -330,8 +330,6 @@ static void create_dive_from_plan(struct diveplan *diveplan, struct dive *dive,
sample->depth = lastdepth;
sample->manually_entered = dp->entered;
sample->sac.mliter = dp->entered ? prefs.bottomsac : prefs.decosac;
- if (track_gas && cyl->type.workingpressure.mbar)
- sample->pressure[0].mbar = cyl->sample_end.mbar;
finish_sample(dc);
lastcylid = dp->cylinderid;
}