mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:07:42 +00:00
Runtime/World: Replace bitfield unions with constructor initializers
This commit is contained in:
@@ -17,14 +17,8 @@ class CScriptCameraPitchVolume : public CActor {
|
||||
zeus::CRelAngle x128_downPitch;
|
||||
zeus::CVector3f x12c_scale;
|
||||
float x138_maxInterpDistance;
|
||||
|
||||
union {
|
||||
struct {
|
||||
bool x13c_24_entered : 1;
|
||||
bool x13c_25_occupied : 1;
|
||||
};
|
||||
u32 _dummy = 0;
|
||||
};
|
||||
bool x13c_24_entered : 1;
|
||||
bool x13c_25_occupied : 1;
|
||||
|
||||
public:
|
||||
CScriptCameraPitchVolume(TUniqueId, bool, std::string_view, const CEntityInfo&, const zeus::CVector3f&,
|
||||
|
||||
Reference in New Issue
Block a user