summaryrefslogtreecommitdiffstats
path: root/core/save-xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/save-xml.c')
-rw-r--r--core/save-xml.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/save-xml.c b/core/save-xml.c
index f1fbdc831..2a8ec5fa7 100644
--- a/core/save-xml.c
+++ b/core/save-xml.c
@@ -490,6 +490,14 @@ void save_one_dive_to_mb(struct membuffer *b, struct dive *dive, bool anonymize)
put_format(b, " rating='%d'", dive->rating);
if (dive->visibility)
put_format(b, " visibility='%d'", dive->visibility);
+ if (dive->wavesize)
+ put_format(b, " wavesize='%d'", dive->wavesize);
+ if (dive->current)
+ put_format(b, " current='%d'", dive->current);
+ if (dive->surge)
+ put_format(b, " surge='%d'", dive->surge);
+ if (dive->chill)
+ put_format(b, " chill='%d'", dive->chill);
save_tags(b, dive->tag_list);
if (dive->dive_site) {
put_format(b, " divesiteid='%8x'", dive->dive_site->uuid);