diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-11 20:21:09 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-11 20:21:09 +0200 |
commit | 9b23e33c36facdad4b6f669501dbee7fa82ef50a (patch) | |
tree | 3f81b31669c2187720881afa07e2ed3db93d6694 /src/control/SceneEdit.cpp | |
parent | Merge remote-tracking branch 'upstream/miami' into miami (diff) | |
parent | Merge remote-tracking branch 'origin/master' into miami (diff) | |
download | re3-9b23e33c36facdad4b6f669501dbee7fa82ef50a.tar re3-9b23e33c36facdad4b6f669501dbee7fa82ef50a.tar.gz re3-9b23e33c36facdad4b6f669501dbee7fa82ef50a.tar.bz2 re3-9b23e33c36facdad4b6f669501dbee7fa82ef50a.tar.lz re3-9b23e33c36facdad4b6f669501dbee7fa82ef50a.tar.xz re3-9b23e33c36facdad4b6f669501dbee7fa82ef50a.tar.zst re3-9b23e33c36facdad4b6f669501dbee7fa82ef50a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/SceneEdit.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/control/SceneEdit.cpp b/src/control/SceneEdit.cpp index bdb93f33..1b6292b8 100644 --- a/src/control/SceneEdit.cpp +++ b/src/control/SceneEdit.cpp @@ -68,7 +68,9 @@ static const char* pCommandStrings[] = { "Save Movie", "Load Movie", "Play Movie", "END" }; +#ifdef CHECK_STRUCT_SIZES static_assert(ARRAY_SIZE(pCommandStrings) == CSceneEdit::MOVIE_TOTAL_COMMANDS, "Scene edit: not all commands have names"); +#endif static int32 NextValidModelId(int32 mi, int32 step) { |