From 76db851bc4f76af4409afe5069a2c4c452d151d1 Mon Sep 17 00:00:00 2001 From: Mathew Sutcliffe Date: Tue, 28 Jun 2016 18:21:47 +0100 Subject: [PATCH] refs #691 INetwork must set timestamp for received situations. --- src/blackcore/networkvatlib.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/blackcore/networkvatlib.cpp b/src/blackcore/networkvatlib.cpp index d3dc7499b..3a80439b8 100644 --- a/src/blackcore/networkvatlib.cpp +++ b/src/blackcore/networkvatlib.cpp @@ -785,6 +785,7 @@ namespace BlackCore CAngle(position->bank, CAngleUnit::deg()), CSpeed(position->groundSpeed, CSpeedUnit::kts()) ); + situation.setCurrentUtcTime(); situation.setTimeOffsetMs(6000); QString transponderName("transponder "); @@ -862,6 +863,7 @@ namespace BlackCore // There is no speed information in a interim packet CSpeed(0.0, CSpeedUnit::kts()) ); + situation.setCurrentUtcTime(); situation.setTimeOffsetMs(2000); situation.setInterimFlag(true);