1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00

Remove no longer accurate flagAsModified calls. Container items are now modified via ContainerStore, not RefData.

This commit is contained in:
scrawl 2013-12-27 00:41:19 +01:00
parent d09a86e208
commit 5a287a7e01

View File

@ -25,9 +25,6 @@ ESM::CellRef& MWWorld::Ptr::getCellRef() const
{
assert(mRef);
if (mContainerStore)
mContainerStore->flagAsModified();
return mRef->mRef;
}
@ -35,9 +32,6 @@ MWWorld::RefData& MWWorld::Ptr::getRefData() const
{
assert(mRef);
if (mContainerStore)
mContainerStore->flagAsModified();
return mRef->mData;
}