mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Ref T715, use "night texture mode" in traffic class
This commit is contained in:
committed by
Mat Sutcliffe
parent
e908593847
commit
cdffc11c99
@@ -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)
|
||||
|
||||
@@ -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] {};
|
||||
|
||||
Reference in New Issue
Block a user