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:
parent
0f971163f7
commit
7d8e3ac651
@ -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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user