mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:53:51 +00:00
Ignore traps of initially unlocked refs with assigned keys
This commit is contained in:
parent
5dc8da5f67
commit
bbed9a70c5
1 changed files with 3 additions and 0 deletions
|
@ -130,7 +130,10 @@ void ESM::CellRef::loadData(ESMReader &esm, bool &isDeleted)
|
|||
}
|
||||
|
||||
if (mLockLevel == 0 && !mKey.empty())
|
||||
{
|
||||
mLockLevel = UnbreakableLock;
|
||||
mTrap.clear();
|
||||
}
|
||||
}
|
||||
|
||||
void ESM::CellRef::save (ESMWriter &esm, bool wideRefNum, bool inInventory, bool isDeleted) const
|
||||
|
|
Loading…
Reference in a new issue