mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 15:07:43 +00:00
Runtime/World: Replace bitfield unions with constructor initializers
This commit is contained in:
@@ -14,13 +14,8 @@ namespace urde {
|
||||
class CScriptSpawnPoint : public CEntity {
|
||||
zeus::CTransform x34_xf;
|
||||
rstl::reserved_vector<u32, int(CPlayerState::EItemType::Max)> x64_itemCounts;
|
||||
union {
|
||||
struct {
|
||||
bool x10c_24_firstSpawn : 1;
|
||||
bool x10c_25_morphed : 1;
|
||||
};
|
||||
u8 _dummy = 0;
|
||||
};
|
||||
bool x10c_24_firstSpawn : 1;
|
||||
bool x10c_25_morphed : 1;
|
||||
|
||||
public:
|
||||
CScriptSpawnPoint(TUniqueId, std::string_view name, const CEntityInfo& info, const zeus::CTransform& xf,
|
||||
|
||||
Reference in New Issue
Block a user