summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioCollision.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio/AudioCollision.h')
-rw-r--r--src/audio/AudioCollision.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/audio/AudioCollision.h b/src/audio/AudioCollision.h
index 324bab0e..e8711f9a 100644
--- a/src/audio/AudioCollision.h
+++ b/src/audio/AudioCollision.h
@@ -20,7 +20,9 @@ public:
// no methods
};
+#ifdef CHECK_STRUCT_SIZES
static_assert(sizeof(cAudioCollision) == 40, "cAudioCollision: error");
+#endif
class cAudioCollisionManager
{
@@ -35,4 +37,6 @@ public:
void AddCollisionToRequestedQueue();
};
-static_assert(sizeof(cAudioCollisionManager) == 852, "cAudioCollisionManager: error"); \ No newline at end of file
+#ifdef CHECK_STRUCT_SIZES
+static_assert(sizeof(cAudioCollisionManager) == 852, "cAudioCollisionManager: error");
+#endif \ No newline at end of file