mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 17:07:42 +00:00
Runtime/World: Replace bitfield unions with constructor initializers
This commit is contained in:
@@ -21,16 +21,10 @@ protected:
|
||||
TEditorId xc_editorId;
|
||||
std::string x10_name;
|
||||
std::vector<SConnection> x20_conns;
|
||||
|
||||
union {
|
||||
struct {
|
||||
bool x30_24_active : 1;
|
||||
bool x30_25_inGraveyard : 1;
|
||||
bool x30_26_scriptingBlocked : 1;
|
||||
bool x30_27_inUse : 1;
|
||||
};
|
||||
u8 _dummy = 0;
|
||||
};
|
||||
bool x30_24_active : 1;
|
||||
bool x30_25_inGraveyard : 1;
|
||||
bool x30_26_scriptingBlocked : 1;
|
||||
bool x30_27_inUse : 1;
|
||||
|
||||
public:
|
||||
static const std::vector<SConnection> NullConnectionList;
|
||||
|
||||
Reference in New Issue
Block a user