forked from mirror/openmw-tes3mp
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;
|
||||
esm.getHNOT (mAutoMove, "AMOV");
|
||||
|
||||
mBirthsign = esm.getHNString ("SIGN");
|
||||
}
|
||||
|
||||
void ESM::Player::save (ESMWriter &esm) const
|
||||
|
@ -41,4 +43,6 @@ void ESM::Player::save (ESMWriter &esm) const
|
|||
|
||||
if (mAutoMove)
|
||||
esm.writeHNT ("AMOV", mAutoMove);
|
||||
|
||||
esm.writeHNString ("SIGN", mBirthsign);
|
||||
}
|
|
@ -23,6 +23,7 @@ namespace ESM
|
|||
ESM::Position mMarkedPosition;
|
||||
CellId mMarkedCell;
|
||||
unsigned char mAutoMove;
|
||||
std::string mBirthsign;
|
||||
|
||||
void load (ESMReader &esm);
|
||||
void save (ESMWriter &esm) const;
|
||||
|
|
Loading…
Reference in a new issue