mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add support for divemode if dive is SCR
Not necesary for OC as this is the default. Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6a5279b952
commit
f1ab6dd386
1 changed files with 1 additions and 0 deletions
|
@ -404,6 +404,7 @@ static struct dive dt_dive_parser(FILE *archivo, struct dive *dt_dive)
|
||||||
if (byte[1] != 0) {
|
if (byte[1] != 0) {
|
||||||
taglist_add_tag(&dt_dive->tag_list, strdup("rebreather"));
|
taglist_add_tag(&dt_dive->tag_list, strdup("rebreather"));
|
||||||
is_SCR = 1;
|
is_SCR = 1;
|
||||||
|
dt_dive->dc.divemode = PSCR;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue