|
|
@ -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
|
|
|
@ -51,4 +53,4 @@ void ESM::Player::save (ESMWriter &esm) const
|
|
|
|
|
|
|
|
|
|
|
|
esm.writeHNT ("CURD", mCurrentCrimeId);
|
|
|
|
esm.writeHNT ("CURD", mCurrentCrimeId);
|
|
|
|
esm.writeHNT ("PAYD", mPayedCrimeId);
|
|
|
|
esm.writeHNT ("PAYD", mPayedCrimeId);
|
|
|
|
}
|
|
|
|
}
|
|
|
|