summaryrefslogtreecommitdiffstats
path: root/core/subsurfacestartup.c
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2019-10-29 17:57:34 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-31 00:30:38 -0700
commit9c8fbe494db231b59c2e072b54af85bc217c00d8 (patch)
tree2b387fea841a6a154135c8b268f3e40298ddbea5 /core/subsurfacestartup.c
parent43b16f0810f7aa8328fd946e0e014d0625e3b53b (diff)
downloadsubsurface-9c8fbe494db231b59c2e072b54af85bc217c00d8.tar.gz
Planner: Add option to treat O2 as narcotic
When computing the best mix for a target depth, for helium, one can either require that the partial pressure of N2 is the same as at the target depth or the partial pressure of N2 plus O2. Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/subsurfacestartup.c')
-rw-r--r--core/subsurfacestartup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/subsurfacestartup.c b/core/subsurfacestartup.c
index 8b7c14179..920285b14 100644
--- a/core/subsurfacestartup.c
+++ b/core/subsurfacestartup.c
@@ -73,6 +73,7 @@ struct preferences default_prefs = {
.display_duration = true,
.display_transitions = true,
.display_variations = false,
+ .o2narcotic = true,
.safetystop = true,
.bottomsac = 20000,
.decosac = 17000,