Some fixes for ESM Dialogues and Infos

(cherry picked from commit e0983c815c)
This commit is contained in:
Stanislav Bas 2015-07-11 22:17:53 +03:00 committed by cc9cii
parent 80074f90bf
commit 25a8cda9ac
4 changed files with 9 additions and 2 deletions

View file

@ -32,6 +32,7 @@ namespace ESM
int32_t empty;
esm.getT(empty); // Skip an empty DATA
mIsDeleted = readDeleSubRecord(esm);
mType = Unknown;
}
else
esm.fail("Unknown sub record size");
@ -54,6 +55,7 @@ namespace ESM
void Dialogue::blank()
{
mInfo.clear();
mIsDeleted = false;
}
void Dialogue::readInfo(ESMReader &esm, bool merge)