diff options
Diffstat (limited to 'core/planner.c')
-rw-r--r-- | core/planner.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/planner.c b/core/planner.c index e2c5cf035..407418553 100644 --- a/core/planner.c +++ b/core/planner.c @@ -102,7 +102,7 @@ static void interpolate_transition(struct deco_state *ds, struct dive *dive, dur add_segment(ds, depth_to_bar(depth, dive), gasmix, 1, po2.mbar, divemode, prefs.bottomsac); } if (d1.mm > d0.mm) - calc_crushing_pressure(ds, depth_to_bar(d1.mm, &displayed_dive)); + calc_crushing_pressure(ds, depth_to_bar(d1.mm, dive)); } /* returns the tissue tolerance at the end of this (partial) dive */ |