mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-12 21:47:11 +03:00
Don't save to or read automove state from saved games (#5452)
This commit is contained in:
parent
2eb9d4ad4e
commit
1873da4c91
5 changed files with 5 additions and 12 deletions
|
@ -21,8 +21,9 @@ void ESM::Player::load (ESMReader &esm)
|
|||
else
|
||||
mHasMark = false;
|
||||
|
||||
mAutoMove = 0;
|
||||
esm.getHNOT (mAutoMove, "AMOV");
|
||||
// Automove, no longer used.
|
||||
if (esm.isNextSub("AMOV"))
|
||||
esm.skipHSub();
|
||||
|
||||
mBirthsign = esm.getHNString ("SIGN");
|
||||
|
||||
|
@ -66,9 +67,6 @@ void ESM::Player::save (ESMWriter &esm) const
|
|||
mMarkedCell.save (esm);
|
||||
}
|
||||
|
||||
if (mAutoMove)
|
||||
esm.writeHNT ("AMOV", mAutoMove);
|
||||
|
||||
esm.writeHNString ("SIGN", mBirthsign);
|
||||
|
||||
esm.writeHNT ("CURD", mCurrentCrimeId);
|
||||
|
|
|
@ -25,9 +25,8 @@ namespace ESM
|
|||
unsigned char mHasMark;
|
||||
ESM::Position mMarkedPosition;
|
||||
CellId mMarkedCell;
|
||||
unsigned char mAutoMove;
|
||||
std::string mBirthsign;
|
||||
|
||||
|
||||
int mCurrentCrimeId;
|
||||
int mPaidCrimeId;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue