summaryrefslogtreecommitdiffstats
path: root/core/divelist.c
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2017-02-02 20:29:44 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-02-02 12:37:24 -0800
commit1d8662006cbb5edae941315e30ede381c23a817b (patch)
tree88ff6ec54d5e4ed4e29f3b93bea04292ef986e5f /core/divelist.c
parenta031dbbbd8fbd8a913e517cf1bea5d61311bf266 (diff)
downloadsubsurface-1d8662006cbb5edae941315e30ede381c23a817b.tar.gz
In statistics, ignore gas use of planned dives
When merged with real dives, those would double count otherwise. Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/divelist.c')
-rw-r--r--core/divelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/divelist.c b/core/divelist.c
index b28dd5ef3..096fc3359 100644
--- a/core/divelist.c
+++ b/core/divelist.c
@@ -119,7 +119,7 @@ void get_dive_gas(struct dive *dive, int *o2_p, int *he_p, int *o2max_p)
int o2 = get_o2(&cyl->gasmix);
int he = get_he(&cyl->gasmix);
- if (!is_cylinder_used(dive, i))
+ if (!is_cylinder_used(dive, i, false))
continue;
if (cylinder_none(cyl))
continue;