diff --git a/components/detournavigator/offmeshconnectionsmanager.hpp b/components/detournavigator/offmeshconnectionsmanager.hpp index 1ad96e3b97..2755adc8ba 100644 --- a/components/detournavigator/offmeshconnectionsmanager.hpp +++ b/components/detournavigator/offmeshconnectionsmanager.hpp @@ -47,9 +47,8 @@ namespace DetourNavigator const auto byId = values->mById.equal_range(id); - if (byId.first == byId.second) { + if (byId.first == byId.second) return {}; - } std::set removed;