mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-10-02 15:05:40 +00:00
m_sample was being checked for null after being used, which looks like a null dereference, though actually if m_sample becomes null, the tool will be deactivated anyway. Regardless, this code looks more sensible.