1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 22:23:51 +00:00

fixed save code for SavedGame record

This commit is contained in:
Marc Zinnschlag 2013-11-19 15:31:39 +01:00
parent 35bf98a940
commit 4c61deca8d

View file

@ -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);