mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 18:19:55 +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;
|
||||
///< 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)
|
||||
|
||||
virtual void unlock (const Ptr& ptr) const;
|
||||
|
|
|
@ -2526,7 +2526,7 @@ namespace MWWorld
|
|||
store.remove(*it, it->getRefData().getCount(), ptr);
|
||||
}
|
||||
}
|
||||
closestChest.getClass().unlock(closestChest);
|
||||
closestChest.getClass().lock(closestChest);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue