summaryrefslogtreecommitdiffstats
path: root/deco.c
diff options
context:
space:
mode:
Diffstat (limited to 'deco.c')
-rw-r--r--deco.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/deco.c b/deco.c
index 70a3c303a..52aac0913 100644
--- a/deco.c
+++ b/deco.c
@@ -96,7 +96,7 @@ static double tissue_tolerance_calc(const struct dive *dive)
double ret_tolerance_limit_ambient_pressure = 0.0;
double gf_high = buehlmann_config.gf_high;
double gf_low = buehlmann_config.gf_low;
- double surface = dive->surface_pressure.mbar / 1000.0;
+ double surface = dive->dc.surface_pressure.mbar / 1000.0;
double lowest_ceiling;
for (ci = 0; ci < 16; ci++)