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 | f8f7febe41311ff3562c57a10672e3a62174104b (patch) | |
tree | 0e0f56357371c5504e04f2c93c6baebc89f00607 /src/network/network_type.h | |
parent | 52fb6b7d7cec0734fb341939adce5199eeca7db6 (diff) | |
download | openttd-f8f7febe41311ff3562c57a10672e3a62174104b.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 */ |