disabled and deleted objects where not correctly ignored during adding objects to a cell when it became active

This commit is contained in:
Marc Zinnschlag 2013-03-22 09:44:59 +01:00
parent 918cdcffc2
commit feaf2b43fb

View file

@ -41,7 +41,7 @@ namespace
++current;
if (it->mData.getCount() || it->mData.isEnabled())
if (it->mData.getCount() && it->mData.isEnabled())
{
MWWorld::Ptr ptr (&*it, &cell);