mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 11:25:33 +08:00
refs #925 Removed unused code.
This commit is contained in:
@@ -381,14 +381,6 @@ namespace XBus
|
|||||||
}
|
}
|
||||||
else { return xpmpData_Unchanged; }
|
else { return xpmpData_Unchanged; }
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
// hack because we need to provide xpmp_LightStatus::timeOffset even if we don't have surfaces
|
|
||||||
const auto io_surfaces = static_cast<XPMPPlaneSurfaces_t *>(io_data);
|
|
||||||
std::memcpy(io_surfaces, &plane->surfaces, sizeof(*io_surfaces));
|
|
||||||
plane->hasSurfaces = true;
|
|
||||||
return xpmpData_NewData;
|
|
||||||
}
|
|
||||||
|
|
||||||
case xpmpDataType_Radar:
|
case xpmpDataType_Radar:
|
||||||
if (plane->hasXpdr)
|
if (plane->hasXpdr)
|
||||||
|
|||||||
Reference in New Issue
Block a user