summaryrefslogtreecommitdiffstats
path: root/src/control/Script.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-11 20:07:12 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-11 20:07:12 +0200
commit0aa7f13c32ea1991f4663f5eff1c37478fdf736f (patch)
treea994ac3a72f9b65dfe6648d3086d4415fe2b1234 /src/control/Script.h
parentlittle fix for cam (diff)
parentremove aps from premake (diff)
downloadre3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.tar
re3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.tar.gz
re3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.tar.bz2
re3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.tar.lz
re3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.tar.xz
re3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.tar.zst
re3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.zip
Diffstat (limited to 'src/control/Script.h')
-rw-r--r--src/control/Script.h4
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
{