CAreaLoader: Fix debug print formatting
Passes the correct type to the formatting specifier.
This commit is contained in:
parent
9d21516296
commit
e75ef00d1c
|
@ -668,7 +668,10 @@ void CAreaLoader::SetUpObjects(CScriptLayer *pGenLayer)
|
|||
if (mpArea->InstanceByID(InstanceID) != nullptr)
|
||||
{
|
||||
if (pInst->ObjectTypeID() != FOURCC('GCTR'))
|
||||
debugf("Duplicate SCGN object: [%s] %s (%08X)", *pInst->Template()->Name(), *pInst->InstanceName(), pInst->InstanceID());
|
||||
{
|
||||
debugf("Duplicate SCGN object: [%s] %s (%08X)", *pInst->Template()->Name(), *pInst->InstanceName(),
|
||||
static_cast<uint32>(pInst->InstanceID()));
|
||||
}
|
||||
|
||||
pGenLayer->RemoveInstance(pInst);
|
||||
delete pInst;
|
||||
|
|
Loading…
Reference in New Issue