Fix really obvious flaw with ignored records not being skipped that I missed

This commit is contained in:
AnyOldName3 2017-09-17 14:16:17 +01:00
parent 5a5cb1a160
commit 0be7e2a5a5

View file

@ -1767,15 +1767,13 @@ namespace MWMechanics
while (reader.isNextSub("ID__"))
{
std::string id = reader.getHString();
if (MWBase::Environment::get().getWorld()->getStore().find(id))
{
int count;
reader.getHNT(count, "COUN");
if (MWBase::Environment::get().getWorld()->getStore().find(id))
mDeathCount[id] = count;
}
}
}
}
void Actors::clear()
{