scripts: replace in-constructor assignments by initializations

This commit is contained in:
Jan Engelhardt
2024-11-03 11:04:19 +01:00
parent 71772b9c9c
commit b7838c1a85
5 changed files with 40 additions and 40 deletions

View File

@@ -60,7 +60,7 @@ public:
virtual int16_t CallEvent(int event, tOSIRISEventInfo *data);
protected:
bool called;
bool called = false;
};
struct tShieldOrbInfo {
@@ -161,7 +161,7 @@ int STDCALL SaveRestoreState(void *file_ptr, uint8_t saving_state) { return 0; }
//============================================
// Script Implementation
//============================================
BaseObjScript::BaseObjScript() { called = false; }
BaseObjScript::BaseObjScript() {}
BaseObjScript::~BaseObjScript() {}