Adds static assert for DamageCalculationData (#6063)

This commit is contained in:
Alex 2025-01-21 21:15:25 +01:00 committed by GitHub
parent 6ec847019e
commit b1831daa98
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -152,6 +152,7 @@ struct DamageCalculationData
u32 updateFlags:1;
u32 padding:2;
};
STATIC_ASSERT(sizeof(struct DamageCalculationData) <= 4, StructExceedsFourBytes);
void HandleAction_ThrowBall(void);
bool32 IsAffectedByFollowMe(u32 battlerAtk, u32 defSide, u32 move);