mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Analyze gasswitches in CCR bailout
The test if we have to create gas switches wasn't yet aware of the bailout option. Reported-by: Dennis Arreborg <dennis@arreborg.eu> Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
parent
e7e21aec6b
commit
85c31f0303
1 changed files with 1 additions and 1 deletions
|
@ -757,7 +757,7 @@ bool plan(struct deco_state *ds, struct diveplan *diveplan, struct dive *dive, i
|
|||
best_first_ascend_cylinder = current_cylinder;
|
||||
/* Find the gases available for deco */
|
||||
|
||||
if (po2) { // Don't change gas in CCR mode
|
||||
if (divemode == CCR && !prefs.dobailout) { // Don't change gas in CCR mode
|
||||
gaschanges = NULL;
|
||||
gaschangenr = 0;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue