diff options
author | rubidium <rubidium@openttd.org> | 2008-12-23 11:55:46 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-12-23 11:55:46 +0000 |
commit | c1b2f17bc8dcc519433b6d26b1de81a1e032572c (patch) | |
tree | 0e0f56357371c5504e04f2c93c6baebc89f00607 /src/network/network_type.h | |
parent | e267bee098dc96f0c2b17f5794f2f330b0acaf58 (diff) | |
download | openttd-c1b2f17bc8dcc519433b6d26b1de81a1e032572c.tar.xz |
(svn r14725) -Change: make it clearer why (and that) MAX_CLIENTS isn't the amount of slots in the array, but one less as a dedicated server takes a slot too.
Diffstat (limited to 'src/network/network_type.h')
-rw-r--r-- | src/network/network_type.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/network_type.h b/src/network/network_type.h index 5302e2542..c04fd1f5a 100644 --- a/src/network/network_type.h +++ b/src/network/network_type.h @@ -37,8 +37,8 @@ enum ClientID { /** Indices into the client tables */ enum ClientIndex { - /** Do not change this next line. It should _ALWAYS_ be MAX_CLIENTS + 1 */ - MAX_CLIENT_INFO = MAX_CLIENTS + 1, + /** Do not change this next line. It should _ALWAYS_ be MAX_CLIENTS + 1. This due to the (dedicated) server taking one slot. */ + MAX_CLIENT_SLOTS = MAX_CLIENTS + 1, }; /** Simple calculated statistics of a company */ |