aboutsummaryrefslogtreecommitdiffstats
path: root/terms
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2016-04-07 15:06:44 +0200
committerGravatar Robert C. Helling <helling@atdotde.de>2016-04-11 21:23:35 +0200
commita260dc2f8ac3123b85a9f5bd0a3fd3186db67055 (patch)
tree8f3fbc2bad10aef5baaaa87d71cde37798976bb3 /terms
parentccff22759612455ba5b4eb7232b6b8d50177ba4a (diff)
downloadsubsurface-a260dc2f8ac3123b85a9f5bd0a3fd3186db67055.tar.gz
Fix time of first ceiling calculation
In our verision of VPM-B for real dives, we take as the deco time the difference between the time of the deepest ceiling and the time when the ceiling clears. When the display of ceilings was set to multiples of 3m this was confused, as the maximum finder had issues: First of all, it updated the time when the ceiling was the same (which was almost always the case for stepped ceilings) but changing >= to > was not enough, since then the first time a deepest stepped ceiling was reached was used. This patch uses the actual ceiling (not rounded to the next integer multiple of 3m) for this calculation to get rid of this problem. Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'terms')
0 files changed, 0 insertions, 0 deletions