Log ptr for which agent bounds are not supported

To make it easier to find what NPC or mod makes this happen.
pull/3235/head
elsid 4 weeks ago
parent e4c70b7861
commit 5b0eb0b5b0
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625

@ -190,7 +190,8 @@ namespace
{
const DetourNavigator::AgentBounds agentBounds = world.getPathfindingAgentBounds(ptr);
if (!navigator.addAgent(agentBounds))
Log(Debug::Warning) << "Agent bounds are not supported by navigator: " << agentBounds;
Log(Debug::Warning) << "Agent bounds are not supported by navigator for " << ptr.toString() << ": "
<< agentBounds;
}
}

Loading…
Cancel
Save