fixup! Ref T709, also log model name (so we can see if a particular model causes a crash)

This commit is contained in:
Klaus Basan
2019-08-18 19:38:30 +02:00
parent 3bd2ff449a
commit a653ea897c

View File

@@ -995,7 +995,7 @@ namespace XSwiftBus
double lxMeters = 0, lyMeters = 0, lzMeters = 0; // normally init not needed, just to avoid any issues
static const double kFtToMeters = 0.3048;
std::string modelName;
std::string modelName = "unknown";
if (traffic->m_followPlaneViewCallsign == CTraffic::ownAircraftString())
{
lxMeters = traffic->m_ownAircraftPositionX.get();