Fixed missing format argument in dref logging.
This commit is contained in:
@@ -529,7 +529,7 @@ namespace XPC
|
|||||||
}
|
}
|
||||||
|
|
||||||
XPLMDataTypeID dataType = XPLMGetDataRefTypes(xdref);
|
XPLMDataTypeID dataType = XPLMGetDataRefTypes(xdref);
|
||||||
Log::FormatLine(LOG_INFO, "DMAN", "Setting DREF %s (x:%X) Type: %i", xdref, dataType);
|
Log::FormatLine(LOG_INFO, "DMAN", "Setting DREF %s (x:%X) Type: %i", dref, xdref, dataType);
|
||||||
if ((dataType & 2) == 2) // Float
|
if ((dataType & 2) == 2) // Float
|
||||||
{
|
{
|
||||||
XPLMSetDataf(xdref, values[0]);
|
XPLMSetDataf(xdref, values[0]);
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user