diff options
Diffstat (limited to 'src/render/2dEffect.h')
-rw-r--r-- | src/render/2dEffect.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/render/2dEffect.h b/src/render/2dEffect.h index b0615e4d..2a71a8d5 100644 --- a/src/render/2dEffect.h +++ b/src/render/2dEffect.h @@ -1,3 +1,5 @@ +#pragma once + enum { EFFECT_LIGHT, EFFECT_PARTICLE, @@ -87,4 +89,5 @@ public: } } }; -static_assert(sizeof(C2dEffect) == 0x34, "C2dEffect: error"); + +VALIDATE_SIZE(C2dEffect, 0x34); |