mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
a031dbbbd8
commit
1d8662006c
8 changed files with 16 additions and 14 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue