1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 03:45:32 +00:00

Merge pull request #2016 from elsid/navmesh_update_change_type

Use new change type for update object
This commit is contained in:
Bret Curtis 2018-11-03 17:30:05 +01:00 committed by GitHub
commit 261bbded00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -29,6 +29,7 @@ namespace DetourNavigator
remove = 0,
mixed = 1,
add = 2,
update = 3,
};
class AsyncNavMeshUpdater

View file

@ -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;
}