diff options
author | Robert C. Helling <helling@atdotde.de> | 2014-07-01 09:37:49 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-01 07:05:01 -0700 |
commit | 1b7abab9b9c5b5f3c9e9ea6aba7dc32b705316f2 (patch) | |
tree | ba4e21ce56379d3631318ba2afa052ed18a144b4 /equipment.c | |
parent | 2766ed8093947c6993477a98a1bd25fc53b2d14d (diff) | |
download | subsurface-1b7abab9b9c5b5f3c9e9ea6aba7dc32b705316f2.tar.gz |
Show ascent gas consumption separately in planner
In the worst gase you have to provide gas for your buddy during all the
ascent. So you should have the amount of gas used in ascent as a reserve.
This patch makes the planner notes display that value separately.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'equipment.c')
-rw-r--r-- | equipment.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/equipment.c b/equipment.c index 51020e5a3..0cc7ea918 100644 --- a/equipment.c +++ b/equipment.c @@ -57,7 +57,8 @@ bool cylinder_nodata(cylinder_t *cyl) !cyl->gasmix.he.permille && !cyl->start.mbar && !cyl->end.mbar && - !cyl->gas_used.mliter; + !cyl->gas_used.mliter && + !cyl->deco_gas_used.mliter; } static bool cylinder_nosamples(cylinder_t *cyl) |