diff options
author | aap <aap@papnet.eu> | 2020-05-11 22:21:26 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-11 22:21:26 +0200 |
commit | 0eb5f93e96bfc4b31c0bde01e9f1296b3b612bc2 (patch) | |
tree | 16bf11e0e8a0353448a643322e9511e8ba659fca /src/control/Script.h | |
parent | CVisibilityPlugins (diff) | |
parent | Merge remote-tracking branch 'origin/master' into miami (diff) | |
download | re3-0eb5f93e96bfc4b31c0bde01e9f1296b3b612bc2.tar re3-0eb5f93e96bfc4b31c0bde01e9f1296b3b612bc2.tar.gz re3-0eb5f93e96bfc4b31c0bde01e9f1296b3b612bc2.tar.bz2 re3-0eb5f93e96bfc4b31c0bde01e9f1296b3b612bc2.tar.lz re3-0eb5f93e96bfc4b31c0bde01e9f1296b3b612bc2.tar.xz re3-0eb5f93e96bfc4b31c0bde01e9f1296b3b612bc2.tar.zst re3-0eb5f93e96bfc4b31c0bde01e9f1296b3b612bc2.zip |
Diffstat (limited to 'src/control/Script.h')
-rw-r--r-- | src/control/Script.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Script.h b/src/control/Script.h index fe6a2f31..9931f13e 100644 --- a/src/control/Script.h +++ b/src/control/Script.h @@ -28,7 +28,7 @@ struct intro_script_rectangle ~intro_script_rectangle() { } }; -static_assert(sizeof(intro_script_rectangle) == 0x18, "Script.h: error"); +VALIDATE_SIZE(intro_script_rectangle, 0x18); enum { SCRIPT_TEXT_MAX_LENGTH = 500 @@ -79,7 +79,7 @@ struct intro_text_line } }; -static_assert(sizeof(intro_text_line) == 0x414, "Script.h: error"); +VALIDATE_SIZE(intro_text_line, 0x414); struct script_sphere_struct { |