2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 02:27:42 +00:00

Runtime/World: Replace bitfield unions with constructor initializers

This commit is contained in:
2020-04-11 01:50:10 -04:00
parent 22880abb7e
commit bb7e94f304
69 changed files with 583 additions and 657 deletions

View File

@@ -12,12 +12,7 @@ class CScriptAiJumpPoint : public CActor {
private:
float xe8_apex;
zeus::CAABox xec_touchBounds;
union {
struct {
bool x108_24 : 1;
};
u8 dummy = 0;
};
bool x108_24 : 1;
TUniqueId x10a_occupant = kInvalidUniqueId;
TUniqueId x10c_currentWaypoint = kInvalidUniqueId;
TUniqueId x10e_nextWaypoint = kInvalidUniqueId;