diff options
author | rubidium <rubidium@openttd.org> | 2010-11-13 14:36:43 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-11-13 14:36:43 +0000 |
commit | d46a2ef122a4dc3a44bfba97a1e7c5f112344c0c (patch) | |
tree | 807a3907760ffdeff5d91240397ad9a6ac32edd2 /src/strings.cpp | |
parent | 8aba642ed5bbad969b56bf5b72834ad04599d296 (diff) | |
download | openttd-d46a2ef122a4dc3a44bfba97a1e7c5f112344c0c.tar.xz |
(svn r21165) -Codechange: move the case/gender meta data into the language metadata struct as well
Diffstat (limited to 'src/strings.cpp')
-rw-r--r-- | src/strings.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/strings.cpp b/src/strings.cpp index 9bab8cb72..a51fb84d4 100644 --- a/src/strings.cpp +++ b/src/strings.cpp @@ -1315,6 +1315,8 @@ bool LanguagePackHeader::IsValid() const this->plural_form < LANGUAGE_MAX_PLURAL && this->text_dir <= 1 && this->newgrflangid < MAX_LANG && + this->num_genders < MAX_NUM_GENDERS && + this->num_cases < MAX_NUM_CASES && StrValid(this->name, lastof(this->name)) && StrValid(this->own_name, lastof(this->own_name)) && StrValid(this->isocode, lastof(this->isocode)) && |