mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Server: add static asserts for node graph structs
Make sure they don't change in size, else the AI node graph file becomes invalid.
This commit is contained in:
parent
4b67f4c27e
commit
ec44837022
@ -151,6 +151,7 @@ struct CAI_ScriptNode
|
||||
// NavMeshNode_GetBooleanData and NavMeshNode_GetBooleanData
|
||||
CBitVec<64> m_DataSlots;
|
||||
};
|
||||
static_assert(sizeof(CAI_ScriptNode) == 20);
|
||||
|
||||
//=============================================================================
|
||||
// >> CAI_HullData
|
||||
@ -165,3 +166,4 @@ struct CAI_HullData
|
||||
// just part of this struct.
|
||||
char unk3[8];
|
||||
};
|
||||
static_assert(sizeof(CAI_HullData) == 24);
|
||||
|
Loading…
x
Reference in New Issue
Block a user