1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-30 09:15:38 +00:00

Remove user-defined constructor from ESM4::Quest

To avoid explicit initialization. It should happen in the load functions anyway.
This commit is contained in:
elsid 2022-02-19 02:07:41 +01:00
parent 1b3acc85f7
commit cccfb14785
No known key found for this signature in database
GPG key ID: B845CB9FEE18AB40
2 changed files with 0 additions and 12 deletions

View file

@ -33,17 +33,6 @@
#include "reader.hpp"
//#include "writer.hpp"
ESM4::Quest::Quest() : mFormId(0), mFlags(0), mQuestScript(0)
{
mEditorId.clear();
mQuestName.clear();
mFileName.clear();
std::memset(&mScript.scriptHeader, 0, sizeof(ScriptHeader));
mScript.scriptSource.clear();
mScript.globReference = 0;
}
ESM4::Quest::~Quest()
{
}

View file

@ -71,7 +71,6 @@ namespace ESM4
ScriptDefinition mScript;
Quest();
virtual ~Quest();
virtual void load(ESM4::Reader& reader);