mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Reset altitude delta for XP11 to zero
This commit is contained in:
@@ -331,6 +331,7 @@ namespace BlackSimPlugin::XPlane
|
||||
const CAltitude pressureAltitude(altitude.toPressureAltitude(seaLevelPressure));
|
||||
if (std::isnan(m_xplaneData.pressureAltitudeFt))
|
||||
{
|
||||
m_altitudeDelta = {};
|
||||
situation.setAltitude(altitude);
|
||||
situation.setPressureAltitude(pressureAltitude);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user