mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-17 10:10:23 +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:
parent
1b3acc85f7
commit
cccfb14785
@ -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()
|
||||
{
|
||||
}
|
||||
|
@ -71,7 +71,6 @@ namespace ESM4
|
||||
|
||||
ScriptDefinition mScript;
|
||||
|
||||
Quest();
|
||||
virtual ~Quest();
|
||||
|
||||
virtual void load(ESM4::Reader& reader);
|
||||
|
Loading…
Reference in New Issue
Block a user