mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 10:07:08 +08:00
Ref T219, added some utility functions in value classes
This commit is contained in:
@@ -88,8 +88,8 @@ namespace BlackMisc
|
||||
|
||||
bool CSimulatedAircraft::isValidForLogin() const
|
||||
{
|
||||
if (m_callsign.asString().isEmpty()) { return false; }
|
||||
if (!m_pilot.isValid()) { return false; }
|
||||
if (m_callsign.isEmpty()) { return false; }
|
||||
if (m_pilot.isNull()) { return false; }
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user