summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-11-10 16:25:20 +0000
committerrubidium <rubidium@openttd.org>2010-11-10 16:25:20 +0000
commit7c7a0cc3f7327cd2c28ae7dd538c0600a8b9a534 (patch)
tree44ef2a55fa1af7e3222664cacb645e04088a29ce
parentab31493dc288be12f728a37923026040ca0f067b (diff)
downloadopenttd-7c7a0cc3f7327cd2c28ae7dd538c0600a8b9a534.tar.xz
(svn r21126) -Codechange: increase the limit of languages OpenTTD can know about to the limit imposed by the NewGRF specs as we're already quite close to the limit; less than 10% from the limit with the currently translated languages
-rw-r--r--src/strings_type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strings_type.h b/src/strings_type.h
index d83b1b79e..a1c45f341 100644
--- a/src/strings_type.h
+++ b/src/strings_type.h
@@ -18,7 +18,7 @@
typedef uint16 StringID;
static const StringID INVALID_STRING_ID = 0xFFFF; ///< Constant representing an invalid string
static const int MAX_CHAR_LENGTH = 4; ///< Max. length of UTF-8 encoded unicode character
-static const uint MAX_LANG = 64; ///< Maximum number of languages supported by the game
+static const uint MAX_LANG = 0x7F; ///< Maximum number of languages supported by the game, and the NewGRF specs
/** Directions a text can go to */
enum TextDirection {