added missing birthsign field to player state record

actorid
Marc Zinnschlag 11 years ago
parent c300cd9375
commit ce00639d31

@ -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…
Cancel
Save