mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 22:27:41 +00:00
CCollidable*: Make use of static inline variables where applicable
Allows relocating initialization with the rest of the variables.
This commit is contained in:
@@ -12,7 +12,7 @@ bool AABox_AABox_Bool(const CInternalCollisionStructure&);
|
||||
} // namespace Collide
|
||||
|
||||
class CCollidableAABox : public CCollisionPrimitive {
|
||||
static u32 sTableIndex;
|
||||
static inline u32 sTableIndex = UINT32_MAX;
|
||||
|
||||
zeus::CAABox x10_aabox;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user