This commit is contained in:
Klaus Basan
2019-09-10 22:35:57 +02:00
committed by Mat Sutcliffe
parent c7b90ae439
commit 19c9a51c38
11 changed files with 24 additions and 25 deletions

View File

@@ -80,7 +80,7 @@ namespace BlackSimPlugin
{
if (trace.isValid())
{
// it can happen the object is not yet
// it can happen the object is not yet existing
CSimConnectObject simObject = simulatorFsxP3D->getSimObjectForTrace(trace);
if (simObject.isInvalid()) { simObject = trace.simObject; } // take the one in the trace
if (simObject.isValid())