mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 22:27:43 +00:00
Runtime/World: Replace bitfield unions with constructor initializers
This commit is contained in:
@@ -24,14 +24,9 @@ class CScriptMazeNode : public CActor {
|
||||
s32 x130_ = 0;
|
||||
s32 x134_ = 0;
|
||||
s32 x138_ = 0;
|
||||
union {
|
||||
struct {
|
||||
bool x13c_24_ : 1;
|
||||
bool x13c_25_ : 1;
|
||||
bool x13c_26_ : 1;
|
||||
};
|
||||
u8 dummy = 0;
|
||||
};
|
||||
bool x13c_24_ : 1;
|
||||
bool x13c_25_ : 1;
|
||||
bool x13c_26_ : 1;
|
||||
|
||||
public:
|
||||
CScriptMazeNode(TUniqueId, std::string_view, const CEntityInfo&, const zeus::CTransform&, bool, s32, s32, s32,
|
||||
|
||||
Reference in New Issue
Block a user