summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/dive.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/dive.c b/core/dive.c
index 04cad24f8..d6fe0c8c4 100644
--- a/core/dive.c
+++ b/core/dive.c
@@ -1864,6 +1864,8 @@ static void merge_cylinder_info(cylinder_t *src, cylinder_t *dst)
merge_cylinder_mix(&src->gasmix, &dst->gasmix);
MERGE_MAX(dst, dst, src, start.mbar);
MERGE_MIN(dst, dst, src, end.mbar);
+ if (!dst->cylinder_use)
+ dst->cylinder_use = src->cylinder_use;
}
static void merge_weightsystem_info(weightsystem_t *res, weightsystem_t *a, weightsystem_t *b)