1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-21 00:19:29 +02:00

Fixes zero-initialized fileVersion member in deserializer

This commit is contained in:
Ivan Savenko
2016-10-29 19:52:19 +03:00
parent ba5ad286cd
commit 256f43f467
12 changed files with 26 additions and 32 deletions

View File

@ -43,7 +43,7 @@ void CSaveFile::openNextFile(const boost::filesystem::path &fname)
THROW_FORMAT("Error: cannot open to write %s!", fname);
sfile->write("VCMI",4); //write magic identifier
serializer & version; //write format version
serializer & SERIALIZATION_VERSION; //write format version
}
catch(...)
{