diff options
author | truelight <truelight@openttd.org> | 2007-10-30 11:29:01 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-10-30 11:29:01 +0000 |
commit | e288b2456faf621b8f5a5a33431c8349bab984fc (patch) | |
tree | 431686553f05217dc4e139907ec73d451f10e9ce /src/network/core | |
parent | 0204f501df70b5e0f554cc9686555cfb603a2064 (diff) | |
download | openttd-e288b2456faf621b8f5a5a33431c8349bab984fc.tar.xz |
(svn r11357) -Fix: NetworkUniqueID could be 80 chars, while the max size we generate is 32. So reduce the size a bit. Pointed out by dihedral, so give him a big hug ;)
Diffstat (limited to 'src/network/core')
-rw-r--r-- | src/network/core/config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/core/config.h b/src/network/core/config.h index d8dbdb274..6fcbf7da2 100644 --- a/src/network/core/config.h +++ b/src/network/core/config.h @@ -27,6 +27,7 @@ enum { NETWORK_NAME_LENGTH = 80, ///< The maximum length of the server name and map 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' NETWORK_PASSWORD_LENGTH = 20, ///< The maximum length of the password, in bytes including '\0' NETWORK_PLAYERS_LENGTH = 200, ///< The maximum length for the list of players that controls a company, in bytes including '\0' |