mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-13 12:40:04 +00:00
fixed save code for SavedGame record
This commit is contained in:
parent
35bf98a940
commit
4c61deca8d
@ -22,10 +22,10 @@ void ESM::SavedGame::load (ESMReader &esm)
|
||||
|
||||
void ESM::SavedGame::save (ESMWriter &esm) const
|
||||
{
|
||||
esm.writeHNCString (mPlayerName, "PNAM");
|
||||
esm.writeHNCString ("PNAM", mPlayerName);
|
||||
esm.writeHNT ("PLEV", mPlayerLevel);
|
||||
esm.writeHNCString (mPlayerClass, "PCLA");
|
||||
esm.writeHNCString (mPlayerCell, "PCEL");
|
||||
esm.writeHNCString ("PCLA", mPlayerClass);
|
||||
esm.writeHNCString ("PCEL", mPlayerCell);
|
||||
esm.writeHNT ("TSTM", mInGameTime, 16);
|
||||
esm.writeHNT ("TIME", mTimePlayed);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user