diff --git a/components/detournavigator/asyncnavmeshupdater.hpp b/components/detournavigator/asyncnavmeshupdater.hpp index c9d7b1940..39898e48e 100644 --- a/components/detournavigator/asyncnavmeshupdater.hpp +++ b/components/detournavigator/asyncnavmeshupdater.hpp @@ -29,6 +29,7 @@ namespace DetourNavigator remove = 0, mixed = 1, add = 2, + update = 3, }; class AsyncNavMeshUpdater diff --git a/components/detournavigator/navmeshmanager.cpp b/components/detournavigator/navmeshmanager.cpp index 9afe105d9..66bf39aaf 100644 --- a/components/detournavigator/navmeshmanager.cpp +++ b/components/detournavigator/navmeshmanager.cpp @@ -46,7 +46,7 @@ namespace DetourNavigator { if (!mRecastMeshManager.updateObject(id, transform, areaType)) return false; - addChangedTiles(shape, transform, ChangeType::mixed); + addChangedTiles(shape, transform, ChangeType::update); return true; }