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:
parent
d09a86e208
commit
5a287a7e01
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user