CScriptTemplate: Fix debug print formatting in CheckVolumeConditions
Ensures that the proper type is passed in.
This commit is contained in:
parent
e75ef00d1c
commit
3d74639bea
|
@ -163,7 +163,10 @@ int32 CScriptTemplate::CheckVolumeConditions(CScriptObject *pObj, bool LogErrors
|
|||
}
|
||||
|
||||
if (LogErrors)
|
||||
errorf("%s instance %08X has unexpected volume shape value of 0x%X", *pObj->Template()->Name(), pObj->InstanceID(), Val);
|
||||
{
|
||||
errorf("%s instance %08X has unexpected volume shape value of 0x%X", *pObj->Template()->Name(),
|
||||
static_cast<uint32>(pObj->InstanceID()), Val);
|
||||
}
|
||||
}
|
||||
|
||||
return -1;
|
||||
|
|
Loading…
Reference in New Issue