Add NAME and DELE handling to Dialogue record

(cherry picked from commit 0b537186e5)
This commit is contained in:
Stanislav Bas 2015-07-07 19:42:24 +03:00 committed by cc9cii
parent 93736e9a81
commit d89de1ba30
2 changed files with 20 additions and 12 deletions

View file

@ -30,8 +30,7 @@ struct Dialogue
Voice = 1,
Greeting = 2,
Persuasion = 3,
Journal = 4,
Deleted = -1
Journal = 4
};
std::string mId;
@ -46,6 +45,8 @@ struct Dialogue
// This is only used during the loading phase to speed up DialInfo merging.
LookupMap mLookup;
bool mIsDeleted;
void load(ESMReader &esm);
void save(ESMWriter &esm) const;