diff options
author | Robert C. Helling <helling@atdotde.de> | 2017-02-02 15:31:52 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-02-02 12:36:08 -0800 |
commit | a031dbbbd8fbd8a913e517cf1bea5d61311bf266 (patch) | |
tree | 9bea6f05989e47d7640366ed0cd974541f4d97db /core/dive.h | |
parent | 99595542ec61a28153ce9d39ef47e913961c1dfc (diff) | |
download | subsurface-a031dbbbd8fbd8a913e517cf1bea5d61311bf266.tar.gz |
When merging planned dives keep all cylinders
When merging a real dive with a planned dive (for comparison),
we should not try to be clever in merging similar cylinders,
rather keep the union of both cylinder sets as the two versions
of the dive might differ in exctly which gas and how much of it
was used.
Increase MAX_CYLINDERS to 20 to make room for this.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/dive.h')
-rw-r--r-- | core/dive.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dive.h b/core/dive.h index 2578850a6..c9d176920 100644 --- a/core/dive.h +++ b/core/dive.h @@ -290,7 +290,7 @@ struct divecomputer { struct divecomputer *next; }; -#define MAX_CYLINDERS (8) +#define MAX_CYLINDERS (20) #define MAX_WEIGHTSYSTEMS (6) #define W_IDX_PRIMARY 0 #define W_IDX_SECONDARY 1 |