diff options
author | rubidium <rubidium@openttd.org> | 2008-12-23 10:42:06 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-12-23 10:42:06 +0000 |
commit | 768fdee77a851286b6a6d33e04df18dc56ab1f51 (patch) | |
tree | ff2d99344143cdf1a8877d775f511822b0696ff2 /src/network/network_gui.cpp | |
parent | cb8b31c3c144804d5ee9bb778809239c0f4ff0fc (diff) | |
download | openttd-768fdee77a851286b6a6d33e04df18dc56ab1f51.tar.xz |
(svn r14722) -Codechange: s/DEREF_CLIENT/GetNetworkClientSocket/
Diffstat (limited to 'src/network/network_gui.cpp')
-rw-r--r-- | src/network/network_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index d3f7a4ca5..d0ea0551d 100644 --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -1431,7 +1431,7 @@ static const NetworkClientInfo *NetworkFindClientInfo(byte client_no) static void ClientList_Kick(byte client_no) { if (client_no < MAX_CLIENTS) { - SEND_COMMAND(PACKET_SERVER_ERROR)(DEREF_CLIENT(client_no), NETWORK_ERROR_KICKED); + SEND_COMMAND(PACKET_SERVER_ERROR)(GetNetworkClientSocket(client_no), NETWORK_ERROR_KICKED); } } @@ -1447,7 +1447,7 @@ static void ClientList_Ban(byte client_no) } if (client_no < MAX_CLIENTS) { - SEND_COMMAND(PACKET_SERVER_ERROR)(DEREF_CLIENT(client_no), NETWORK_ERROR_KICKED); + SEND_COMMAND(PACKET_SERVER_ERROR)(GetNetworkClientSocket(client_no), NETWORK_ERROR_KICKED); } } |