mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-11 13:06:56 +03:00
Make NavMeshCacheItem consistent
Move all logic related to this type into its methods.
This commit is contained in:
parent
8dab6e0f6c
commit
614d5243c3
7 changed files with 152 additions and 147 deletions
|
@ -1447,7 +1447,7 @@ namespace MWRender
|
|||
try
|
||||
{
|
||||
const auto locked = it->second->lockConst();
|
||||
mNavMesh->update(locked->getValue(), mNavMeshNumber, locked->getGeneration(),
|
||||
mNavMesh->update(locked->getImpl(), mNavMeshNumber, locked->getGeneration(),
|
||||
locked->getNavMeshRevision(), mNavigator.getSettings());
|
||||
}
|
||||
catch (const std::exception& e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue