fix indexing error (#143)

This commit is contained in:
Kai Lehmkuehler
2018-11-05 21:00:36 +01:00
committed by Jason Watkins
parent 7fd4d4d6b2
commit 136e0d5f2b

View File

@@ -148,7 +148,7 @@ namespace XPC
memcpy(orient, buffer + 18, 12);
ss << " AC:" << (int)aircraft;
ss << " Pos:(" << pos[0] << ' ' << pos[1] << ' ' << pos[2] << ") Orient:(";
ss << orient[3] << ' ' << orient[4] << ' ' << orient[5] << ") Gear:";
ss << orient[0] << ' ' << orient[1] << ' ' << orient[2] << ") Gear:";
ss << gear;
Log::WriteLine(LOG_DEBUG, "DBUG", ss.str());
}