1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-09 03:39:14 +00:00

one more fix to SavedGame record saving

This commit is contained in:
Marc Zinnschlag 2013-11-26 09:56:08 +01:00
parent ad143e0524
commit b40c0f2a07

View File

@ -23,13 +23,13 @@ void ESM::SavedGame::load (ESMReader &esm)
void ESM::SavedGame::save (ESMWriter &esm) const
{
esm.writeHNCString ("PNAM", mPlayerName);
esm.writeHNString ("PNAM", mPlayerName);
esm.writeHNT ("PLEV", mPlayerLevel);
esm.writeHNCString ("PCLA", mPlayerClass);
esm.writeHNCString ("PCEL", mPlayerCell);
esm.writeHNString ("PCLA", mPlayerClass);
esm.writeHNString ("PCEL", mPlayerCell);
esm.writeHNT ("TSTM", mInGameTime, 16);
esm.writeHNT ("TIME", mTimePlayed);
esm.writeHNCString ("DESC", mDescription);
esm.writeHNString ("DESC", mDescription);
for (std::vector<std::string>::const_iterator iter (mContentFiles.begin());
iter!=mContentFiles.end(); ++iter)