1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-30 22:15:35 +00:00

Do not recreate cache object

This commit is contained in:
elsid 2023-08-07 10:46:36 +02:00
parent a17cb0ff0e
commit 7c7577a6bd
No known key found for this signature in database
GPG key ID: 4DE04C198CBA7625

View file

@ -15,7 +15,6 @@ namespace MWRender
: GenericResourceManager<ESM::ExteriorCellLocation>(nullptr)
, mLoadFlags(loadFlags)
{
mCache = new CacheType;
}
osg::ref_ptr<ESMTerrain::LandObject> LandManager::getLand(ESM::ExteriorCellLocation cellIndex)