Ref T715, use "night texture mode" in traffic class

This commit is contained in:
Klaus Basan
2019-08-10 00:00:33 +02:00
committed by Mat Sutcliffe
parent e908593847
commit cdffc11c99
2 changed files with 3 additions and 1 deletions

View File

@@ -317,7 +317,8 @@ namespace XSwiftBus
}
else
{
id = XPMPCreatePlaneWithModelName(modelName.c_str(), aircraftIcao.c_str(), airlineIcao.c_str(), livery.c_str(), getPlaneData, planeLoaded, static_cast<void *>(this));
const std::string nt = this->getSettings().getNightTextureMode();
id = XPMPCreatePlaneWithModelName(modelName.c_str(), aircraftIcao.c_str(), airlineIcao.c_str(), livery.c_str(), nt.c_str(), getPlaneData, planeLoaded, static_cast<void *>(this));
}
if (!id)

View File

@@ -175,6 +175,7 @@ namespace XSwiftBus
std::string airlineIcao;
std::string livery;
std::string modelName;
std::string nightTextureMode;
bool hasSurfaces = false;
bool hasXpdr = false;
char label[32] {};