mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-04 16:49:41 +00:00
Consider first set element as first acquired
This commit is contained in:
parent
f2ebad5115
commit
0c6d72b2d1
1 changed files with 2 additions and 3 deletions
|
@ -74,10 +74,9 @@ namespace DetourNavigator
|
|||
}
|
||||
|
||||
iterator->mNavMeshData = std::move(value);
|
||||
++iterator->mUseCount;
|
||||
mUsedNavMeshDataSize += itemSize;
|
||||
mFreeNavMeshDataSize += itemSize;
|
||||
|
||||
acquireItemUnsafe(iterator);
|
||||
mBusyItems.splice(mBusyItems.end(), mFreeItems, iterator);
|
||||
|
||||
return Value(*this, iterator);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue