Skip to content

Commit 11d4ae3

Browse files
committed
feat(xswiftbus): Update xpmp2 with more TCAS datarefs
1 parent c118356 commit 11d4ae3

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/xswiftbus/traffic.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,9 @@ namespace XSwiftBus
819819
Plane *plane = pair.second;
820820
interpolatePosition(plane);
821821
interpolateGear(plane);
822-
m_updates.push_back({ plane->id, &plane->positions[3], &plane->surfaces, &plane->surveillance });
822+
XPMPUpdate_t update = { plane->id, &plane->positions[3], &plane->surfaces, &plane->surveillance,
823+
plane->isOnGround };
824+
m_updates.push_back(update);
823825
}
824826
XPMPUpdatePlanes(m_updates.data(), sizeof(XPMPUpdate_t), m_updates.size());
825827

0 commit comments

Comments
 (0)