Skip to content

Commit

Permalink
Merge branch 'crashtainer' into 'master'
Browse files Browse the repository at this point in the history
Use the right getContainerStore

Closes #7658

See merge request OpenMW/openmw!3644
  • Loading branch information
Capostrophic committed Dec 11, 2023
2 parents e3e9b39 + 4062f02 commit 21ca9ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/openmw/mwclass/container.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 21ca9ba

Please sign in to comment.