mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-27 23:41:34 +00:00
Fix older savegame compatibility regarding new crime feature.
This commit is contained in:
parent
65161c3e24
commit
d3d0b7362f
1 changed files with 5 additions and 3 deletions
|
@ -26,8 +26,10 @@ void ESM::Player::load (ESMReader &esm)
|
||||||
|
|
||||||
mBirthsign = esm.getHNString ("SIGN");
|
mBirthsign = esm.getHNString ("SIGN");
|
||||||
|
|
||||||
esm.getHNT (mCurrentCrimeId, "CURD");
|
mCurrentCrimeId = 0;
|
||||||
esm.getHNT (mPayedCrimeId, "PAYD");
|
esm.getHNOT (mCurrentCrimeId, "CURD");
|
||||||
|
mPayedCrimeId = 0;
|
||||||
|
esm.getHNOT (mPayedCrimeId, "PAYD");
|
||||||
}
|
}
|
||||||
|
|
||||||
void ESM::Player::save (ESMWriter &esm) const
|
void ESM::Player::save (ESMWriter &esm) const
|
||||||
|
|
Loading…
Reference in a new issue