summaryrefslogtreecommitdiffstats
path: root/statistics.c
diff options
context:
space:
mode:
Diffstat (limited to 'statistics.c')
-rw-r--r--statistics.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/statistics.c b/statistics.c
index 9eb029115..96d6a65f2 100644
--- a/statistics.c
+++ b/statistics.c
@@ -308,6 +308,8 @@ bool is_cylinder_used(struct dive *dive, int idx)
return true;
event = get_next_event(event->next, "gaschange");
}
+ if (dc->dctype == CCR && (idx == dive->diluent_cylinder_index || idx == dive->oxygen_cylinder_index))
+ return true;
}
if (idx == 0 && !firstGasExplicit)
return true;