Address feedback

7344-support-launching-the-example-suite
unknown 2 years ago
parent ea1abf8485
commit 9368941f62

@ -902,9 +902,7 @@ namespace MWWorld
// we assume that these records are empty on purpose (i.e. to remove old pathgrid on an updated cell)
if (isDeleted || pathgrid.mPoints.empty() || pathgrid.mEdges.empty())
{
auto it = mStatic.find(cell);
if (it != mStatic.end())
mStatic.erase(it);
mStatic.erase(cell);
return RecordId(ESM::RefId(), isDeleted);
}

@ -414,7 +414,6 @@ namespace MWWorld
class Store<ESM::Pathgrid> : public DynamicStore
{
private:
std::unordered_map<ESM::RefId, ESM::Pathgrid> mStatic;
Store<ESM::Cell>* mCells;

Loading…
Cancel
Save