mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Recast: fix crash in tile tool when navmesh is NULL
This commit is contained in:
parent
2ccd443a8d
commit
a3753dec9f
@ -244,7 +244,7 @@ public:
|
||||
else
|
||||
m_editor->buildTile(m_hitPos);
|
||||
}
|
||||
else if (m_cursorMode == TT_CURSOR_MODE_DEBUG)
|
||||
else if (m_cursorMode == TT_CURSOR_MODE_DEBUG && m_navMesh)
|
||||
{
|
||||
const float halfExtents[3] = { 2, 2, 4 };
|
||||
dtQueryFilter filter;
|
||||
|
Loading…
x
Reference in New Issue
Block a user