summaryrefslogtreecommitdiff
path: root/src/network/core/config.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-08-13 06:05:01 +0000
committerrubidium <rubidium@openttd.org>2008-08-13 06:05:01 +0000
commit97c184f8f8265cf59b24ab3081a032c7162afcb5 (patch)
treedd64aeafae6994a4ed4e2d23a71d62db7de1668f /src/network/core/config.h
parent08e7da71f520649359bbe40656a7c93e6ac2e1b0 (diff)
downloadopenttd-97c184f8f8265cf59b24ab3081a032c7162afcb5.tar.xz
(svn r14063) -Codechange: replace some "magic" constants with enumified constants.
Diffstat (limited to 'src/network/core/config.h')
-rw-r--r--src/network/core/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/config.h b/src/network/core/config.h
index 72e4ca78a..7d9672036 100644
--- a/src/network/core/config.h
+++ b/src/network/core/config.h
@@ -24,7 +24,7 @@ enum {
NETWORK_MASTER_SERVER_VERSION = 1, ///< What version of master-server-protocol do we use?
NETWORK_NAME_LENGTH = 80, ///< The maximum length of the server name and map name, in bytes including '\0'
- NETWORK_COMPANY_NAME_LENGTH = 32, ///< The maximum length of the company name, in bytes including '\0'
+ NETWORK_COMPANY_NAME_LENGTH = 31, ///< The maximum length of the company name, in bytes including '\0'
NETWORK_HOSTNAME_LENGTH = 80, ///< The maximum length of the host name, in bytes including '\0'
NETWORK_UNIQUE_ID_LENGTH = 33, ///< The maximum length of the unique id of the clients, in bytes including '\0'
NETWORK_REVISION_LENGTH = 15, ///< The maximum length of the revision, in bytes including '\0'