mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-29 09:32:45 +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 "reader.hpp"
|
||||||
//#include "writer.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()
|
ESM4::Quest::~Quest()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -71,7 +71,6 @@ namespace ESM4
|
|||||||
|
|
||||||
ScriptDefinition mScript;
|
ScriptDefinition mScript;
|
||||||
|
|
||||||
Quest();
|
|
||||||
virtual ~Quest();
|
virtual ~Quest();
|
||||||
|
|
||||||
virtual void load(ESM4::Reader& reader);
|
virtual void load(ESM4::Reader& reader);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user