mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-30 09:36:43 +00:00
fixed save code for SavedGame record
This commit is contained in:
parent
35bf98a940
commit
4c61deca8d
1 changed files with 3 additions and 3 deletions
|
@ -22,10 +22,10 @@ void ESM::SavedGame::load (ESMReader &esm)
|
||||||
|
|
||||||
void ESM::SavedGame::save (ESMWriter &esm) const
|
void ESM::SavedGame::save (ESMWriter &esm) const
|
||||||
{
|
{
|
||||||
esm.writeHNCString (mPlayerName, "PNAM");
|
esm.writeHNCString ("PNAM", mPlayerName);
|
||||||
esm.writeHNT ("PLEV", mPlayerLevel);
|
esm.writeHNT ("PLEV", mPlayerLevel);
|
||||||
esm.writeHNCString (mPlayerClass, "PCLA");
|
esm.writeHNCString ("PCLA", mPlayerClass);
|
||||||
esm.writeHNCString (mPlayerCell, "PCEL");
|
esm.writeHNCString ("PCEL", mPlayerCell);
|
||||||
esm.writeHNT ("TSTM", mInGameTime, 16);
|
esm.writeHNT ("TSTM", mInGameTime, 16);
|
||||||
esm.writeHNT ("TIME", mTimePlayed);
|
esm.writeHNT ("TIME", mTimePlayed);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue