mirror of
https://github.com/kevinbentley/Descent3.git
synced 2026-04-05 14:00:03 -04:00
scripts: replace in-constructor assignments by initializations
This commit is contained in:
@@ -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() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user