1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-04 02:41:19 +00:00

Log ptr for which agent bounds are not supported

To make it easier to find what NPC or mod makes this happen.
This commit is contained in:
elsid 2024-04-20 14:15:24 +02:00
parent e4c70b7861
commit 5b0eb0b5b0
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625

View File

@ -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;
}
}