mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 07:32:00 -04:00
Fix really obvious flaw with ignored records not being skipped that I missed
This commit is contained in:
parent
5a5cb1a160
commit
0be7e2a5a5
@ -1767,12 +1767,10 @@ namespace MWMechanics
|
|||||||
while (reader.isNextSub("ID__"))
|
while (reader.isNextSub("ID__"))
|
||||||
{
|
{
|
||||||
std::string id = reader.getHString();
|
std::string id = reader.getHString();
|
||||||
|
int count;
|
||||||
|
reader.getHNT(count, "COUN");
|
||||||
if (MWBase::Environment::get().getWorld()->getStore().find(id))
|
if (MWBase::Environment::get().getWorld()->getStore().find(id))
|
||||||
{
|
|
||||||
int count;
|
|
||||||
reader.getHNT(count, "COUN");
|
|
||||||
mDeathCount[id] = count;
|
mDeathCount[id] = count;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user