1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 09:23:51 +00:00

Use new change type for update object

To perform jobs for updated animated objects and doors with lowest
priority.
This commit is contained in:
elsid 2018-11-03 16:41:36 +03:00
parent 851c2f55cd
commit 41319eb2bf
No known key found for this signature in database
GPG key ID: B845CB9FEE18AB40
2 changed files with 2 additions and 1 deletions

View file

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

View file

@ -46,7 +46,7 @@ namespace DetourNavigator
{ {
if (!mRecastMeshManager.updateObject(id, transform, areaType)) if (!mRecastMeshManager.updateObject(id, transform, areaType))
return false; return false;
addChangedTiles(shape, transform, ChangeType::mixed); addChangedTiles(shape, transform, ChangeType::update);
return true; return true;
} }