diff options
author | rubidium <rubidium@openttd.org> | 2010-12-05 22:24:50 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-12-05 22:24:50 +0000 |
commit | cf61c2f11fbffe20749382feb8fe03d238a2888d (patch) | |
tree | f6a5ff6ee367f3a62f59d1e7099aeafcfb665b5f /src/network/core/config.h | |
parent | 768da4b48f8c70177cb5dfc77a30a23a98a3ae05 (diff) | |
download | openttd-cf61c2f11fbffe20749382feb8fe03d238a2888d.tar.xz |
(svn r21412) -Codechange: limit company name by amount of characters, not bytes
Diffstat (limited to 'src/network/core/config.h')
-rw-r--r-- | src/network/core/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/config.h b/src/network/core/config.h index 584e0382a..ff4d6e22e 100644 --- a/src/network/core/config.h +++ b/src/network/core/config.h @@ -40,7 +40,7 @@ static const byte NETWORK_COMPANY_INFO_VERSION = 6; ///< What version of c static const byte NETWORK_MASTER_SERVER_VERSION = 2; ///< What version of master-server-protocol do we use? static const uint NETWORK_NAME_LENGTH = 80; ///< The maximum length of the server name and map name, in bytes including '\0' -static const uint NETWORK_COMPANY_NAME_LENGTH = 31; ///< The maximum length of the company name, in bytes including '\0' +static const uint NETWORK_COMPANY_NAME_LENGTH = 128; ///< The maximum length of the company name, in bytes including '\0' static const uint NETWORK_HOSTNAME_LENGTH = 80; ///< The maximum length of the host name, in bytes including '\0' static const uint NETWORK_SERVER_ID_LENGTH = 33; ///< The maximum length of the network id of the servers, in bytes including '\0' static const uint NETWORK_REVISION_LENGTH = 15; ///< The maximum length of the revision, in bytes including '\0' |