mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-11 13:06:56 +03:00
Do not resolve container's content during search
This commit is contained in:
parent
c91d1e7394
commit
abe1009e98
1 changed files with 3 additions and 0 deletions
|
@ -37,6 +37,9 @@ namespace
|
|||
{
|
||||
MWWorld::Ptr container (&*iter, 0);
|
||||
|
||||
if (container.getRefData().getCustomData() == nullptr)
|
||||
continue;
|
||||
|
||||
MWWorld::Ptr ptr =
|
||||
container.getClass().getContainerStore (container).search (id);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue