mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-28 09:06:40 +00:00
Use the right getContainerStore
This commit is contained in:
parent
102d2c4b43
commit
4062f0225b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue