mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 15:45:42 +08:00
[FS9] Function for at least halfway correct engine type
This commit is contained in:
committed by
Mat Sutcliffe
parent
1ab1e8ca70
commit
a3f646a792
@@ -385,6 +385,14 @@ namespace BlackMisc
|
||||
return c;
|
||||
}
|
||||
|
||||
QChar CAircraftIcaoCode::getAircraftTypeChar() const
|
||||
{
|
||||
if (m_combinedType.length() < 1) { return {}; }
|
||||
QChar c(m_combinedType.at(0));
|
||||
if (c == "-") { return {}; }
|
||||
return c;
|
||||
}
|
||||
|
||||
QString CAircraftIcaoCode::getCombinedModelDescription() const
|
||||
{
|
||||
// Shortcut for most cases
|
||||
|
||||
Reference in New Issue
Block a user