mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-08 21:05:34 +08:00
refs #678 and slack discussion, renamed enum name
https://dev.vatsim-germany.org/issues/678#note-7
This commit is contained in:
@@ -77,7 +77,7 @@ namespace BlackCore
|
||||
{
|
||||
AcceptsAtisResponses = 1 << 0,
|
||||
SupportsInterimPosUpdates = 1 << 1,
|
||||
SupportsModelDescriptions = 1 << 2,
|
||||
SupportsIcaoCodes = 1 << 2,
|
||||
SupportsAircraftConfigs = 1 << 3
|
||||
};
|
||||
|
||||
|
||||
@@ -956,7 +956,7 @@ namespace BlackCore
|
||||
int flags = 0;
|
||||
if (capabilityFlags & vatCapsAtcInfo) { flags |= AcceptsAtisResponses; }
|
||||
if (capabilityFlags & vatCapsInterminPos) { flags |= SupportsInterimPosUpdates; }
|
||||
if (capabilityFlags & vatCapsModelDesc) { flags |= SupportsModelDescriptions; }
|
||||
if (capabilityFlags & vatCapsModelDesc) { flags |= SupportsIcaoCodes; }
|
||||
if (capabilityFlags & vatCapsAircraftConfig) { flags |= SupportsAircraftConfigs; }
|
||||
emit cbvar_cast(cbvar)->capabilitiesReplyReceived(cbvar_cast(cbvar)->fromFSD(callsign), flags);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user