forked from teamnwah/openmw-tes3coop
added missing birthsign field to player state record
This commit is contained in:
parent
c300cd9375
commit
ce00639d31
2 changed files with 5 additions and 0 deletions
|
@ -23,6 +23,8 @@ void ESM::Player::load (ESMReader &esm)
|
||||||
|
|
||||||
mAutoMove = 0;
|
mAutoMove = 0;
|
||||||
esm.getHNOT (mAutoMove, "AMOV");
|
esm.getHNOT (mAutoMove, "AMOV");
|
||||||
|
|
||||||
|
mBirthsign = esm.getHNString ("SIGN");
|
||||||
}
|
}
|
||||||
|
|
||||||
void ESM::Player::save (ESMWriter &esm) const
|
void ESM::Player::save (ESMWriter &esm) const
|
||||||
|
@ -41,4 +43,6 @@ void ESM::Player::save (ESMWriter &esm) const
|
||||||
|
|
||||||
if (mAutoMove)
|
if (mAutoMove)
|
||||||
esm.writeHNT ("AMOV", mAutoMove);
|
esm.writeHNT ("AMOV", mAutoMove);
|
||||||
|
|
||||||
|
esm.writeHNString ("SIGN", mBirthsign);
|
||||||
}
|
}
|
|
@ -23,6 +23,7 @@ namespace ESM
|
||||||
ESM::Position mMarkedPosition;
|
ESM::Position mMarkedPosition;
|
||||||
CellId mMarkedCell;
|
CellId mMarkedCell;
|
||||||
unsigned char mAutoMove;
|
unsigned char mAutoMove;
|
||||||
|
std::string mBirthsign;
|
||||||
|
|
||||||
void load (ESMReader &esm);
|
void load (ESMReader &esm);
|
||||||
void save (ESMWriter &esm) const;
|
void save (ESMWriter &esm) const;
|
||||||
|
|
Loading…
Reference in a new issue