forked from teamnwah/openmw-tes3coop
fixed QuestState::load/save
This commit is contained in:
parent
0f971163f7
commit
7d8e3ac651
1 changed files with 2 additions and 2 deletions
|
@ -7,13 +7,13 @@
|
||||||
void ESM::QuestState::load (ESMReader &esm)
|
void ESM::QuestState::load (ESMReader &esm)
|
||||||
{
|
{
|
||||||
mTopic = esm.getHNString ("YETO");
|
mTopic = esm.getHNString ("YETO");
|
||||||
esm.getHNOT (mState, "QSTAT");
|
esm.getHNOT (mState, "QSTA");
|
||||||
esm.getHNOT (mFinished, "QFIN");
|
esm.getHNOT (mFinished, "QFIN");
|
||||||
}
|
}
|
||||||
|
|
||||||
void ESM::QuestState::save (ESMWriter &esm) const
|
void ESM::QuestState::save (ESMWriter &esm) const
|
||||||
{
|
{
|
||||||
esm.writeHNString ("YETO", mTopic);
|
esm.writeHNString ("YETO", mTopic);
|
||||||
esm.writeHNT ("QSTAT", mState);
|
esm.writeHNT ("QSTA", mState);
|
||||||
esm.writeHNT ("QFIN", mFinished);
|
esm.writeHNT ("QFIN", mFinished);
|
||||||
}
|
}
|
Loading…
Reference in a new issue