mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-27 12:35:46 +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())
|
if (newPtr.getRefData().getCustomData())
|
||||||
{
|
{
|
||||||
MWBase::Environment::get().getWorldModel()->registerPtr(newPtr);
|
MWBase::Environment::get().getWorldModel()->registerPtr(newPtr);
|
||||||
newPtr.getContainerStore()->setPtr(newPtr);
|
getContainerStore(newPtr).setPtr(newPtr);
|
||||||
}
|
}
|
||||||
return newPtr;
|
return newPtr;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user