mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +00:00
Merge branch 'crashtainer' into 'master'
Use the right getContainerStore Closes #7658 See merge request OpenMW/openmw!3644
This commit is contained in:
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…
x
Reference in New Issue
Block a user