mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-05 15:55:45 +00:00
Add missing decrease for free navmesh data size
This commit is contained in:
parent
d3633bbada
commit
696bb9adc8
@ -132,6 +132,7 @@ namespace DetourNavigator
|
||||
return;
|
||||
|
||||
mUsedNavMeshDataSize -= static_cast<std::size_t>(item.mNavMeshData.mSize) + item.mNavMeshKey.size();
|
||||
mFreeNavMeshDataSize -= static_cast<std::size_t>(item.mNavMeshData.mSize) + item.mNavMeshKey.size();
|
||||
mFreeItems.pop_back();
|
||||
|
||||
tileValues->second.Map.erase(value);
|
||||
|
Loading…
Reference in New Issue
Block a user