feat(xswiftbus): Update xpmp2 with more TCAS datarefs

This commit is contained in:
Mat Sutcliffe
2026-01-08 18:42:55 +00:00
parent c1183565df
commit 11d4ae35e5
2 changed files with 4 additions and 2 deletions

View File

@@ -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());