From 1b2773445d12037bb1293d35e5f1b9a4a44168d9 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 18 Apr 2008 10:16:51 +0000 Subject: (svn r12765) -Codechange: move some stuff out of variables.h that required including other headers in variables.h. --- src/network/core/tcp.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/network/core/tcp.cpp') diff --git a/src/network/core/tcp.cpp b/src/network/core/tcp.cpp index a4b763b1a..f44f1741c 100644 --- a/src/network/core/tcp.cpp +++ b/src/network/core/tcp.cpp @@ -75,6 +75,7 @@ NetworkRecvStatus NetworkTCPSocketHandler::CloseConnection() if (!_network_server && _networking) { _switch_mode = SM_MENU; _networking = false; + extern StringID _switch_mode_errorstr; _switch_mode_errorstr = STR_NETWORK_ERR_LOSTCONNECTION; return NETWORK_RECV_STATUS_CONN_LOST; -- cgit v1.2.3-70-g09d2