(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

@@ -224,6 +224,7 @@ uint NetworkCalculateLag(const NetworkTCPSocketHandler *cs)
static void NetworkError(StringID error_string)
{
_switch_mode = SM_MENU;
extern StringID _switch_mode_errorstr;
_switch_mode_errorstr = error_string;
}