From af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8 Mon Sep 17 00:00:00 2001 From: bigbossbro08 Date: Sun, 10 May 2020 19:54:37 +0600 Subject: defined out asserts. --- src/render/Particle.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/render/Particle.h') diff --git a/src/render/Particle.h b/src/render/Particle.h index b71dc717..ed1528d2 100644 --- a/src/render/Particle.h +++ b/src/render/Particle.h @@ -91,4 +91,6 @@ public: static void AddYardieDoorSmoke(CVector const &vecPos, CMatrix const &matMatrix); }; -VALIDATE_SIZE(CParticle, 0x68); \ No newline at end of file +#ifdef CHECK_STRUCT_SIZES +VALIDATE_SIZE(CParticle, 0x68); +#endif \ No newline at end of file -- cgit v1.2.3 From c798e1bacdaabaf140ff3904948fd7cec46c09bb Mon Sep 17 00:00:00 2001 From: bigbossbro08 Date: Sun, 10 May 2020 21:49:33 +0600 Subject: Fixed typos and made all assert functions optional --- src/render/Particle.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/render/Particle.h') diff --git a/src/render/Particle.h b/src/render/Particle.h index ed1528d2..7f02e318 100644 --- a/src/render/Particle.h +++ b/src/render/Particle.h @@ -91,6 +91,4 @@ public: static void AddYardieDoorSmoke(CVector const &vecPos, CMatrix const &matMatrix); }; -#ifdef CHECK_STRUCT_SIZES VALIDATE_SIZE(CParticle, 0x68); -#endif \ No newline at end of file -- cgit v1.2.3