mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 06:45:37 +08:00
feat(xswiftbus): Update xpmp2 with more TCAS datarefs
This commit is contained in:
@@ -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());
|
||||
|
||||
|
||||
Submodule src/xswiftbus/xplanemp2 updated: 8b07d1daf8...0f81fd117a
Reference in New Issue
Block a user