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:
@@ -15,14 +15,9 @@ class CScriptDock : public CPhysicsActor {
|
||||
s32 x25c_dock;
|
||||
TAreaId x260_area;
|
||||
EDockState x264_dockState = EDockState::Three;
|
||||
union {
|
||||
struct {
|
||||
bool x268_24_dockReferenced : 1;
|
||||
bool x268_25_loadConnected : 1;
|
||||
bool x268_26_areaPostConstructed : 1;
|
||||
};
|
||||
u8 dummy = 0;
|
||||
};
|
||||
bool x268_24_dockReferenced : 1;
|
||||
bool x268_25_loadConnected : 1;
|
||||
bool x268_26_areaPostConstructed : 1;
|
||||
|
||||
public:
|
||||
CScriptDock(TUniqueId uid, std::string_view name, const CEntityInfo& info, const zeus::CVector3f& position,
|
||||
|
||||
Reference in New Issue
Block a user