mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 16:15:31 +00: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
|
@ -25,6 +25,7 @@
|
|||
Bug #5427: GetDistance unknown ID error is misleading
|
||||
Bug #5435: Enemies can't hurt the player when collision is off
|
||||
Bug #5441: Enemies can't push a player character when in critical strike stance
|
||||
Bug #5452: Autowalk is being included in savegames
|
||||
Feature #5362: Show the soul gems' trapped soul in count dialog
|
||||
Feature #5445: Handle NiLines
|
||||
|
||||
|
|
|
@ -63,7 +63,6 @@ namespace ESSImport
|
|||
, mHour(0.f)
|
||||
, mNextActorId(0)
|
||||
{
|
||||
mPlayer.mAutoMove = 0;
|
||||
ESM::CellId playerCellId;
|
||||
playerCellId.mPaged = true;
|
||||
playerCellId.mIndex.mX = playerCellId.mIndex.mY = 0;
|
||||
|
|
|
@ -356,8 +356,6 @@ namespace MWWorld
|
|||
else
|
||||
player.mHasMark = false;
|
||||
|
||||
player.mAutoMove = mAutoMove ? 1 : 0;
|
||||
|
||||
for (int i=0; i<ESM::Attribute::Length; ++i)
|
||||
mSaveAttributes[i].writeState(player.mSaveAttributes[i]);
|
||||
for (int i=0; i<ESM::Skill::Length; ++i)
|
||||
|
@ -452,8 +450,6 @@ namespace MWWorld
|
|||
mMarkedCell = 0;
|
||||
}
|
||||
|
||||
mAutoMove = player.mAutoMove!=0;
|
||||
|
||||
mForwardBackward = 0;
|
||||
mTeleported = false;
|
||||
|
||||
|
|
|
@ -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,7 +25,6 @@ namespace ESM
|
|||
unsigned char mHasMark;
|
||||
ESM::Position mMarkedPosition;
|
||||
CellId mMarkedCell;
|
||||
unsigned char mAutoMove;
|
||||
std::string mBirthsign;
|
||||
|
||||
int mCurrentCrimeId;
|
||||
|
|
Loading…
Reference in a new issue