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:
@@ -7,14 +7,9 @@
|
||||
|
||||
namespace urde {
|
||||
class CScriptMemoryRelay : public CEntity {
|
||||
union {
|
||||
struct {
|
||||
bool x34_24_defaultActive;
|
||||
bool x34_25_skipSendActive;
|
||||
bool x34_26_ignoreMessages;
|
||||
};
|
||||
u8 dummy = 0;
|
||||
};
|
||||
bool x34_24_defaultActive;
|
||||
bool x34_25_skipSendActive;
|
||||
bool x34_26_ignoreMessages;
|
||||
|
||||
public:
|
||||
CScriptMemoryRelay(TUniqueId, std::string_view name, const CEntityInfo&, bool, bool, bool);
|
||||
|
||||
Reference in New Issue
Block a user