mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-16 04:57:01 +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:
@@ -14,7 +14,7 @@ bool Sphere_Sphere_Bool(const CInternalCollisionStructure&);
|
||||
} // namespace Collide
|
||||
|
||||
class CCollidableSphere : public CCollisionPrimitive {
|
||||
static u32 sTableIndex;
|
||||
static inline u32 sTableIndex = UINT32_MAX;
|
||||
|
||||
zeus::CSphere x10_sphere;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user