mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
Assert in network context
This commit is contained in:
@@ -559,6 +559,7 @@ namespace BlackCore
|
||||
if (c)
|
||||
{
|
||||
CSimulatedAircraft aircraft(this->getAircraftInRangeForCallsign(callsign));
|
||||
Q_ASSERT_X(!aircraft.getCallsign().isEmpty(), Q_FUNC_INFO, "missing callsign");
|
||||
emit this->changedRemoteAircraftEnabled(aircraft);
|
||||
}
|
||||
return c;
|
||||
|
||||
Reference in New Issue
Block a user