mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 04:45:31 +08:00
Fix VatAtcPosition not properly initialized
This commit is contained in:
@@ -115,6 +115,8 @@ namespace BlackCore
|
|||||||
pos.latitude = m_ownAircraft.latitude().value(CAngleUnit::deg());
|
pos.latitude = m_ownAircraft.latitude().value(CAngleUnit::deg());
|
||||||
pos.longitude = m_ownAircraft.longitude().value(CAngleUnit::deg());
|
pos.longitude = m_ownAircraft.longitude().value(CAngleUnit::deg());
|
||||||
pos.elevation = 0;
|
pos.elevation = 0;
|
||||||
|
pos.rating = vatAtcRatingObserver;
|
||||||
|
pos.frequency = 199998;
|
||||||
Vat_SendATCUpdate(m_net.data(), &pos);
|
Vat_SendATCUpdate(m_net.data(), &pos);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user