Merge branch 'crashtainer' into 'master'

Use the right getContainerStore

Closes #7658

See merge request OpenMW/openmw!3644
macos_ci_fix
Alexei Kotov 1 year ago
commit 21ca9ba34b

@ -306,7 +306,7 @@ namespace MWClass
if (newPtr.getRefData().getCustomData())
{
MWBase::Environment::get().getWorldModel()->registerPtr(newPtr);
newPtr.getContainerStore()->setPtr(newPtr);
getContainerStore(newPtr).setPtr(newPtr);
}
return newPtr;
}

Loading…
Cancel
Save