mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-09-30 22:15:42 +00:00
Fix for a crash in path queue. Bail out if cannot init obstacle query.
This commit is contained in:
@@ -30,6 +30,8 @@ dtPathQueue::dtPathQueue() :
|
||||
m_queueHead(0),
|
||||
m_navquery(0)
|
||||
{
|
||||
for (int i = 0; i < MAX_QUEUE; ++i)
|
||||
m_queue[i].path = 0;
|
||||
}
|
||||
|
||||
dtPathQueue::~dtPathQueue()
|
||||
|
||||
Reference in New Issue
Block a user