forked from teamnwah/openmw-tes3coop
Remove no longer accurate flagAsModified calls. Container items are now modified via ContainerStore, not RefData.
This commit is contained in:
parent
d09a86e208
commit
5a287a7e01
1 changed files with 0 additions and 6 deletions
|
@ -25,9 +25,6 @@ ESM::CellRef& MWWorld::Ptr::getCellRef() const
|
||||||
{
|
{
|
||||||
assert(mRef);
|
assert(mRef);
|
||||||
|
|
||||||
if (mContainerStore)
|
|
||||||
mContainerStore->flagAsModified();
|
|
||||||
|
|
||||||
return mRef->mRef;
|
return mRef->mRef;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -35,9 +32,6 @@ MWWorld::RefData& MWWorld::Ptr::getRefData() const
|
||||||
{
|
{
|
||||||
assert(mRef);
|
assert(mRef);
|
||||||
|
|
||||||
if (mContainerStore)
|
|
||||||
mContainerStore->flagAsModified();
|
|
||||||
|
|
||||||
return mRef->mData;
|
return mRef->mData;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue