forked from mirror/openmw-tes3mp
Fix really obvious flaw with ignored records not being skipped that I missed
This commit is contained in:
parent
5a5cb1a160
commit
0be7e2a5a5
1 changed files with 2 additions and 4 deletions
|
@ -1767,15 +1767,13 @@ namespace MWMechanics
|
||||||
while (reader.isNextSub("ID__"))
|
while (reader.isNextSub("ID__"))
|
||||||
{
|
{
|
||||||
std::string id = reader.getHString();
|
std::string id = reader.getHString();
|
||||||
if (MWBase::Environment::get().getWorld()->getStore().find(id))
|
|
||||||
{
|
|
||||||
int count;
|
int count;
|
||||||
reader.getHNT(count, "COUN");
|
reader.getHNT(count, "COUN");
|
||||||
|
if (MWBase::Environment::get().getWorld()->getStore().find(id))
|
||||||
mDeathCount[id] = count;
|
mDeathCount[id] = count;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
void Actors::clear()
|
void Actors::clear()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue