mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-21 15:41:33 +00: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);
|
MWWorld::Ptr container (&*iter, 0);
|
||||||
|
|
||||||
|
if (container.getRefData().getCustomData() == nullptr)
|
||||||
|
continue;
|
||||||
|
|
||||||
MWWorld::Ptr ptr =
|
MWWorld::Ptr ptr =
|
||||||
container.getClass().getContainerStore (container).search (id);
|
container.getClass().getContainerStore (container).search (id);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue