mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix gas for start dp
It previously always started with o2 in air, now we start with 0 as its the same default as in the cylinders too, which fixes a uninitialized index there too. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
90634b3814
commit
bb979260b0
1 changed files with 1 additions and 1 deletions
|
@ -1393,7 +1393,7 @@ void DivePlannerPointsModel::createTemporaryPlan()
|
|||
// Get the user-input and calculate the dive info
|
||||
// Not sure if this is the place to create the diveplan...
|
||||
// We just start with a surface node at time = 0
|
||||
struct divedatapoint *dp = create_dp(0, 0, 209, 0, 0);
|
||||
struct divedatapoint *dp = create_dp(0, 0, 0, 0, 0);
|
||||
dp->entered = TRUE;
|
||||
diveplan.dp = dp;
|
||||
int lastIndex = -1;
|
||||
|
|
Loading…
Add table
Reference in a new issue