Merge branch 'fix-nonet-2210' into 'next'

Fix warning when compiling with NONET=1

See merge request STJr/SRB2!1753
This commit is contained in:
sphere 2022-03-04 09:49:36 +00:00
commit 1abe2689f3

View file

@ -2077,6 +2077,7 @@ static boolean CL_FinishedFileList(void)
return true;
}
#ifndef NONET
static const char * InvalidServerReason (serverinfo_pak *info)
{
#define EOT "\nPress ESC\n"
@ -2140,6 +2141,7 @@ static const char * InvalidServerReason (serverinfo_pak *info)
#undef EOT
}
#endif // ifndef NONET
/** Called by CL_ServerConnectionTicker
*