From 11d4ae35e55cdbd5c8b71e6f7d4d5d25d995adc1 Mon Sep 17 00:00:00 2001 From: Mat Sutcliffe Date: Thu, 8 Jan 2026 18:42:55 +0000 Subject: [PATCH] feat(xswiftbus): Update xpmp2 with more TCAS datarefs --- src/xswiftbus/traffic.cpp | 4 +++- src/xswiftbus/xplanemp2 | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/xswiftbus/traffic.cpp b/src/xswiftbus/traffic.cpp index f56ac0374..2c6ea3325 100644 --- a/src/xswiftbus/traffic.cpp +++ b/src/xswiftbus/traffic.cpp @@ -819,7 +819,9 @@ namespace XSwiftBus Plane *plane = pair.second; interpolatePosition(plane); interpolateGear(plane); - m_updates.push_back({ plane->id, &plane->positions[3], &plane->surfaces, &plane->surveillance }); + XPMPUpdate_t update = { plane->id, &plane->positions[3], &plane->surfaces, &plane->surveillance, + plane->isOnGround }; + m_updates.push_back(update); } XPMPUpdatePlanes(m_updates.data(), sizeof(XPMPUpdate_t), m_updates.size()); diff --git a/src/xswiftbus/xplanemp2 b/src/xswiftbus/xplanemp2 index 8b07d1daf..0f81fd117 160000 --- a/src/xswiftbus/xplanemp2 +++ b/src/xswiftbus/xplanemp2 @@ -1 +1 @@ -Subproject commit 8b07d1daf8283cad8c0cf401e5ddf7f3f11a9b70 +Subproject commit 0f81fd117a56ff3812eb8d2bcee69254330e78ae