summaryrefslogtreecommitdiff
path: root/src/network/core
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-08-11 22:07:26 +0000
committerrubidium <rubidium@openttd.org>2008-08-11 22:07:26 +0000
commit0fab1dc6992bd316c1752378b6f3f913d36087e9 (patch)
tree946bb9e6d885bc1eb08d0131905d3c4df18bb2d9 /src/network/core
parenteb461386ce1da6818a16aac4b542e061c1c37d83 (diff)
downloadopenttd-0fab1dc6992bd316c1752378b6f3f913d36087e9.tar.xz
(svn r14045) -Codechange: move the network's limitation to chat messages to a more logical location and give it a more consistent name.
Diffstat (limited to 'src/network/core')
-rw-r--r--src/network/core/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/core/config.h b/src/network/core/config.h
index 6b4b471bf..4911d2a4c 100644
--- a/src/network/core/config.h
+++ b/src/network/core/config.h
@@ -32,6 +32,7 @@ enum {
NETWORK_PLAYERS_LENGTH = 200, ///< The maximum length for the list of players that controls a company, in bytes including '\0'
NETWORK_CLIENT_NAME_LENGTH = 25, ///< The maximum length of a player, in bytes including '\0'
NETWORK_RCONCOMMAND_LENGTH = 500, ///< The maximum length of a rconsole command, in bytes including '\0'
+ NETWORK_CHAT_LENGTH = 1000, ///< The maximum length of a chat message, in bytes including '\0'
NETWORK_GRF_NAME_LENGTH = 80, ///< Maximum length of the name of a GRF
/**