1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-21 18:09:39 +00:00

fix for the ESMWriter fix

This commit is contained in:
Marc Zinnschlag 2013-09-15 15:30:17 +02:00
parent 231419028d
commit 1ee228a566

View file

@ -6,7 +6,7 @@
namespace ESM namespace ESM
{ {
ESMWriter::ESMWriter() : mRecordCount (0), mCounting (false) {} ESMWriter::ESMWriter() : mRecordCount (0), mCounting (true) {}
unsigned int ESMWriter::getVersion() const unsigned int ESMWriter::getVersion() const
{ {
@ -56,6 +56,7 @@ namespace ESM
{ {
mRecordCount = 0; mRecordCount = 0;
mRecords.clear(); mRecords.clear();
mCounting = true;
mStream = &file; mStream = &file;
startRecord("TES3", 0); startRecord("TES3", 0);