1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-07 12:54:00 +00:00

fixed QuestState::load/save

This commit is contained in:
Marc Zinnschlag 2013-12-03 13:51:44 +01:00
parent 0f971163f7
commit 7d8e3ac651

View File

@ -7,13 +7,13 @@
void ESM::QuestState::load (ESMReader &esm)
{
mTopic = esm.getHNString ("YETO");
esm.getHNOT (mState, "QSTAT");
esm.getHNOT (mState, "QSTA");
esm.getHNOT (mFinished, "QFIN");
}
void ESM::QuestState::save (ESMWriter &esm) const
{
esm.writeHNString ("YETO", mTopic);
esm.writeHNT ("QSTAT", mState);
esm.writeHNT ("QSTA", mState);
esm.writeHNT ("QFIN", mFinished);
}