2
0
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:
Lioncash
2020-08-01 05:31:23 -04:00
parent 55da593e59
commit 88e6a04f13
10 changed files with 5 additions and 11 deletions

View File

@@ -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;