mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +00:00
Add missing Organic flag check for herbalism
This commit is contained in:
parent
861d41f4a4
commit
c01153569d
@ -1990,9 +1990,7 @@ namespace MWRender
|
||||
mObjectRoot->accept(visitor);
|
||||
}
|
||||
|
||||
if (ptr.getTypeName() == typeid(ESM::Container).name() &&
|
||||
SceneUtil::hasUserDescription(mObjectRoot, Constants::HerbalismLabel) &&
|
||||
ptr.getRefData().getCustomData() != nullptr)
|
||||
if (ptr.getRefData().getCustomData() != nullptr && canBeHarvested())
|
||||
{
|
||||
const MWWorld::ContainerStore& store = ptr.getClass().getContainerStore(ptr);
|
||||
if (!store.hasVisibleItems())
|
||||
|
Loading…
x
Reference in New Issue
Block a user