Fixed missing format argument in dref logging.

This commit is contained in:
Jason Watkins
2015-08-20 08:16:37 -07:00
parent e932179e20
commit ae72eed8e5
3 changed files with 1 additions and 1 deletions

View File

@@ -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.