summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-10-17 17:52:12 +0000
committerrubidium <rubidium@openttd.org>2010-10-17 17:52:12 +0000
commit9a5e27219562a79279ae89865876bc97f49315de (patch)
treebb525cb294f3f9f0365301c220d0598112764e08 /src/network
parentcca0ca3d707221fcb08f5ba0216a93ee73dc8e45 (diff)
downloadopenttd-9a5e27219562a79279ae89865876bc97f49315de.tar.xz
(svn r20978) -Fix (r20963): MSVC seems to be complaining more than GCC once again :)
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network.cpp b/src/network/network.cpp
index b18c2732f..d94656165 100644
--- a/src/network/network.cpp
+++ b/src/network/network.cpp
@@ -451,7 +451,7 @@ void NetworkClose(bool close_admins)
if (close_admins) {
ServerNetworkAdminSocketHandler *as;
FOR_ALL_ADMIN_SOCKETS(as) {
- as->CloseConnection(NETWORK_RECV_STATUS_CONN_LOST);
+ as->CloseConnection(true);
}
}