mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-04 07:47:59 +03:00
Some fixes for ESM Dialogues and Infos
(cherry picked from commit e0983c815c
)
This commit is contained in:
parent
80074f90bf
commit
25a8cda9ac
4 changed files with 9 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue