mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +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.longitude = m_ownAircraft.longitude().value(CAngleUnit::deg());
|
||||
pos.elevation = 0;
|
||||
pos.rating = vatAtcRatingObserver;
|
||||
pos.frequency = 199998;
|
||||
Vat_SendATCUpdate(m_net.data(), &pos);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user