From 12ca36886889a08a7dda9b0b1dd264464988bfd3 Mon Sep 17 00:00:00 2001 From: Edward d'Auvergne Date: Tue, 29 Nov 2022 11:41:34 +0100 Subject: [PATCH] SGSubsystemMrg GroupType fixes for a few subsystem registrations. --- src/Aircraft/replay.cxx | 3 ++- src/Instrumentation/HUD/HUD.cxx | 3 ++- src/Network/fgcom.cxx | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/Aircraft/replay.cxx b/src/Aircraft/replay.cxx index 961a41506..78df737a3 100644 --- a/src/Aircraft/replay.cxx +++ b/src/Aircraft/replay.cxx @@ -123,4 +123,5 @@ void FGReplay::resetStatisticsProperties() // Register the subsystem. -SGSubsystemMgr::Registrant registrantFGReplay; +SGSubsystemMgr::Registrant registrantFGReplay( + SGSubsystemMgr::POST_FDM); diff --git a/src/Instrumentation/HUD/HUD.cxx b/src/Instrumentation/HUD/HUD.cxx index 059642efc..1dfee9e8e 100644 --- a/src/Instrumentation/HUD/HUD.cxx +++ b/src/Instrumentation/HUD/HUD.cxx @@ -649,7 +649,8 @@ void HUDText::draw() // Register the subsystem. -SGSubsystemMgr::Registrant registrantHUD; +SGSubsystemMgr::Registrant registrantHUD( + SGSubsystemMgr::DISPLAY); void TextList::align(const char *s, int align, float *x, float *y, diff --git a/src/Network/fgcom.cxx b/src/Network/fgcom.cxx index 2cf67e871..1e9d7a5f8 100644 --- a/src/Network/fgcom.cxx +++ b/src/Network/fgcom.cxx @@ -745,4 +745,5 @@ bool FGCom::isInRange(const double &freq) const // Register the subsystem. -SGSubsystemMgr::Registrant registrantFGCom; +SGSubsystemMgr::Registrant registrantFGCom( + SGSubsystemMgr::SOUND);