mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-29 09:15:33 +00:00
Fix for bug Bug #1098
This commit is contained in:
parent
10d835a55c
commit
b3ffd5b868
2 changed files with 2 additions and 2 deletions
|
@ -165,7 +165,7 @@ namespace MWWorld
|
||||||
virtual bool hasInventoryStore (const Ptr& ptr) const;
|
virtual bool hasInventoryStore (const Ptr& ptr) const;
|
||||||
///< Does this object have an inventory store, i.e. equipment slots? (default implementation: false)
|
///< Does this object have an inventory store, i.e. equipment slots? (default implementation: false)
|
||||||
|
|
||||||
virtual void lock (const Ptr& ptr, int lockLevel) const;
|
virtual void lock (const Ptr& ptr, int lockLevel = 0) const;
|
||||||
///< Lock object (default implementation: throw an exception)
|
///< Lock object (default implementation: throw an exception)
|
||||||
|
|
||||||
virtual void unlock (const Ptr& ptr) const;
|
virtual void unlock (const Ptr& ptr) const;
|
||||||
|
|
|
@ -2526,7 +2526,7 @@ namespace MWWorld
|
||||||
store.remove(*it, it->getRefData().getCount(), ptr);
|
store.remove(*it, it->getRefData().getCount(), ptr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
closestChest.getClass().unlock(closestChest);
|
closestChest.getClass().lock(closestChest);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue