diff options
author | rubidium <rubidium@openttd.org> | 2008-12-22 12:59:31 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-12-22 12:59:31 +0000 |
commit | 782b80eff755afcf7d4b3c5f9237bc65457b4e16 (patch) | |
tree | bb6d8bbfd056eeed669e31e87f2c987bc038a42a /src/network/core/tcp.cpp | |
parent | 8431174e88f1996f5bedce8128d4f91fa20edcf3 (diff) | |
download | openttd-782b80eff755afcf7d4b3c5f9237bc65457b4e16.tar.xz |
(svn r14709) -Codechange: make a clearer distinction between 'unique' client identification ids and the indices into the clients/client info arrays.
Diffstat (limited to 'src/network/core/tcp.cpp')
-rw-r--r-- | src/network/core/tcp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/tcp.cpp b/src/network/core/tcp.cpp index 6450d4778..f6cef8728 100644 --- a/src/network/core/tcp.cpp +++ b/src/network/core/tcp.cpp @@ -22,7 +22,7 @@ void NetworkTCPSocketHandler::Initialize() { this->sock = INVALID_SOCKET; - this->index = 0; + this->client_id = INVALID_CLIENT_ID; this->last_frame = 0; this->last_frame_server = 0; this->lag_test = 0; |