diff options
author | peter1138 <peter1138@openttd.org> | 2008-03-27 15:48:54 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-03-27 15:48:54 +0000 |
commit | ffe07b929283461b2bc3bf8bd92d2f4dba4fb985 (patch) | |
tree | 19922dbd3ab8f9b031264a12448be11c9a76242e /src/genworld_gui.cpp | |
parent | 3256b24dd6aae8adaafef616e8ce7a42dc233ade (diff) | |
download | openttd-ffe07b929283461b2bc3bf8bd92d2f4dba4fb985.tar.xz |
(svn r12445) -Fix: Add missing compile asserts for window data structs
Diffstat (limited to 'src/genworld_gui.cpp')
-rw-r--r-- | src/genworld_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp index 1db28208f..65ae87287 100644 --- a/src/genworld_gui.cpp +++ b/src/genworld_gui.cpp @@ -48,6 +48,7 @@ struct generate_d { uint y; char name[64]; }; +assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(generate_d)); extern void SwitchMode(int new_mode); |