(svn r12765) -Codechange: move some stuff out of variables.h that required including other headers in variables.h.

This commit is contained in:
rubidium
2008-04-18 10:16:51 +00:00
parent 2070cee089
commit 1b2773445d
13 changed files with 14 additions and 10 deletions

View File

@@ -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;