mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-15 22:21:00 +00:00
Don't display the harvested plant if graphic herbalism is off
This commit is contained in:
parent
81ceb497a1
commit
2edbabd3d7
@ -1927,7 +1927,8 @@ namespace MWRender
|
||||
mObjectRoot->accept(visitor);
|
||||
}
|
||||
|
||||
if (ptr.getRefData().getCustomData() != nullptr && ObjectAnimation::canBeHarvested())
|
||||
if (Settings::game().mGraphicHerbalism && ptr.getRefData().getCustomData() != nullptr
|
||||
&& ObjectAnimation::canBeHarvested())
|
||||
{
|
||||
const MWWorld::ContainerStore& store = ptr.getClass().getContainerStore(ptr);
|
||||
if (!store.hasVisibleItems())
|
||||
|
Loading…
x
Reference in New Issue
Block a user