mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-06 21:45:35 +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:
parent
e4c70b7861
commit
5b0eb0b5b0
1 changed files with 2 additions and 1 deletions
|
@ -190,7 +190,8 @@ namespace
|
||||||
{
|
{
|
||||||
const DetourNavigator::AgentBounds agentBounds = world.getPathfindingAgentBounds(ptr);
|
const DetourNavigator::AgentBounds agentBounds = world.getPathfindingAgentBounds(ptr);
|
||||||
if (!navigator.addAgent(agentBounds))
|
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…
Reference in a new issue