diff options
author | frosch <frosch@openttd.org> | 2017-01-14 13:12:49 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2017-01-14 13:12:49 +0000 |
commit | ec9a920aab1af1001abb216a89cdc13e0ba1c3ab (patch) | |
tree | 08b793017fae46a658fda51e8e2d5720867335b2 /src/network/core | |
parent | 6696e5c4e1aca4a928dc88656497c63b6ebda6fa (diff) | |
download | openttd-ec9a920aab1af1001abb216a89cdc13e0ba1c3ab.tar.xz |
(svn r27729) -Codechange: Do not count static NewGRF when checking for the maximum number of NewGRFs in a game.
-Codechange: Remove LAST_GRF_SLOT and MAX_NEWGRFS. Now NETWORK_MAX_GRF_COUNT is the only constant to specify the maximum number of non-static NewGRF.
-Codechange: Increase the number of file slots, effectively increasing the maximum number of static NewGRF and baseset GRFs.
Diffstat (limited to 'src/network/core')
-rw-r--r-- | src/network/core/config.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/network/core/config.h b/src/network/core/config.h index 93f75e377..f5e73dd12 100644 --- a/src/network/core/config.h +++ b/src/network/core/config.h @@ -55,8 +55,7 @@ static const uint NETWORK_GRF_NAME_LENGTH = 80; ///< Maximum l /** * Maximum number of GRFs that can be sent. - * This value is related to number of handles (files) OpenTTD can open. - * This is currently 64. Two are used for configuration and sound. + * This limit is reached when PACKET_UDP_SERVER_RESPONSE reaches the maximum size of SEND_MTU bytes. */ static const uint NETWORK_MAX_GRF_COUNT = 62; |