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

changed a few sub record names to make them more unique

This commit is contained in:
Marc Zinnschlag 2013-12-03 14:30:18 +01:00
parent 2293b92efe
commit e269c9e689

View file

@ -9,10 +9,10 @@ unsigned int ESM::SavedGame::sRecordId = ESM::REC_SAVE;
void ESM::SavedGame::load (ESMReader &esm) void ESM::SavedGame::load (ESMReader &esm)
{ {
mPlayerName = esm.getHNString("PNAM"); mPlayerName = esm.getHNString("PLNA");
esm.getHNOT (mPlayerLevel, "PLEV"); esm.getHNOT (mPlayerLevel, "PLLE");
mPlayerClass = esm.getHNString("PCLA"); mPlayerClass = esm.getHNString("PLCL");
mPlayerCell = esm.getHNString("PCEL"); mPlayerCell = esm.getHNString("PLCE");
esm.getHNT (mInGameTime, "TSTM", 16); esm.getHNT (mInGameTime, "TSTM", 16);
esm.getHNT (mTimePlayed, "TIME"); esm.getHNT (mTimePlayed, "TIME");
mDescription = esm.getHNString ("DESC"); mDescription = esm.getHNString ("DESC");
@ -23,10 +23,10 @@ void ESM::SavedGame::load (ESMReader &esm)
void ESM::SavedGame::save (ESMWriter &esm) const void ESM::SavedGame::save (ESMWriter &esm) const
{ {
esm.writeHNString ("PNAM", mPlayerName); esm.writeHNString ("PLNA", mPlayerName);
esm.writeHNT ("PLEV", mPlayerLevel); esm.writeHNT ("PLLE", mPlayerLevel);
esm.writeHNString ("PCLA", mPlayerClass); esm.writeHNString ("PLCL", mPlayerClass);
esm.writeHNString ("PCEL", mPlayerCell); esm.writeHNString ("PLCE", mPlayerCell);
esm.writeHNT ("TSTM", mInGameTime, 16); esm.writeHNT ("TSTM", mInGameTime, 16);
esm.writeHNT ("TIME", mTimePlayed); esm.writeHNT ("TIME", mTimePlayed);
esm.writeHNString ("DESC", mDescription); esm.writeHNString ("DESC", mDescription);