mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 22:23:51 +00:00
Add missing Organic flag check for herbalism
This commit is contained in:
parent
861d41f4a4
commit
c01153569d
1 changed files with 1 additions and 3 deletions
|
@ -1990,9 +1990,7 @@ namespace MWRender
|
||||||
mObjectRoot->accept(visitor);
|
mObjectRoot->accept(visitor);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ptr.getTypeName() == typeid(ESM::Container).name() &&
|
if (ptr.getRefData().getCustomData() != nullptr && canBeHarvested())
|
||||||
SceneUtil::hasUserDescription(mObjectRoot, Constants::HerbalismLabel) &&
|
|
||||||
ptr.getRefData().getCustomData() != nullptr)
|
|
||||||
{
|
{
|
||||||
const MWWorld::ContainerStore& store = ptr.getClass().getContainerStore(ptr);
|
const MWWorld::ContainerStore& store = ptr.getClass().getContainerStore(ptr);
|
||||||
if (!store.hasVisibleItems())
|
if (!store.hasVisibleItems())
|
||||||
|
|
Loading…
Reference in a new issue