mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-16 07:49:05 -04:00
Fix a search that should have been find
This commit is contained in:
parent
872d9be1b4
commit
e7a004824c
@ -22,7 +22,7 @@ void MWWorld::LiveCellRefBase::loadImp (const ESM::ObjectState& state)
|
|||||||
std::string scriptId = mClass->getScript (ptr);
|
std::string scriptId = mClass->getScript (ptr);
|
||||||
|
|
||||||
mData.setLocals (*MWBase::Environment::get().getWorld()->getStore().
|
mData.setLocals (*MWBase::Environment::get().getWorld()->getStore().
|
||||||
get<ESM::Script>().search (scriptId));
|
get<ESM::Script>().find (scriptId));
|
||||||
mData.getLocals().read (state.mLocals, scriptId);
|
mData.getLocals().read (state.mLocals, scriptId);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -44,4 +44,4 @@ void MWWorld::LiveCellRefBase::saveImp (ESM::ObjectState& state) const
|
|||||||
bool MWWorld::LiveCellRefBase::checkStateImp (const ESM::ObjectState& state)
|
bool MWWorld::LiveCellRefBase::checkStateImp (const ESM::ObjectState& state)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user