From 70647ffd350b3f4e9bb897483f2c8e66facb6f9f Mon Sep 17 00:00:00 2001 From: Julian Smith Date: Fri, 2 Apr 2021 10:16:08 +0100 Subject: [PATCH] src/Aircraft/replay.*: use getMPProtocolClockSec if /sim/time/simple-time/enabled is set. Also, when moving MP packets around, medium_term buffer can become empty. Have added checks for empty short, medium and long term buffers when moving packets. --- src/Aircraft/replay.cxx | 37 ++++++++++++++++++++++++------------- src/Aircraft/replay.hxx | 2 ++ 2 files changed, 26 insertions(+), 13 deletions(-) diff --git a/src/Aircraft/replay.cxx b/src/Aircraft/replay.cxx index 8bf8bad1e..24da46897 100644 --- a/src/Aircraft/replay.cxx +++ b/src/Aircraft/replay.cxx @@ -42,6 +42,7 @@ #include
#include +#include