summaryrefslogtreecommitdiffstats
path: root/dive.c
diff options
context:
space:
mode:
Diffstat (limited to 'dive.c')
-rw-r--r--dive.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dive.c b/dive.c
index d4e0217d7..97b688a6d 100644
--- a/dive.c
+++ b/dive.c
@@ -703,6 +703,10 @@ add_sample_b:
sample.cylinderpressure = as->cylinderpressure;
if (as->cylinderindex)
sample.cylinderindex = as->cylinderindex;
+ if (as->cns)
+ sample.cns = as->cns;
+ if (as->po2)
+ sample.po2 = as->po2;
merge_one_sample(&sample, at, res);