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