mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 03:40:14 +00:00
Remove no longer accurate flagAsModified calls. Container items are now modified via ContainerStore, not RefData.
This commit is contained in:
parent
d09a86e208
commit
5a287a7e01
@ -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…
x
Reference in New Issue
Block a user