The lame but easy way to fix that error.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3467 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2009-11-18 20:41:30 +00:00
parent 1f34680832
commit 25f3653d9f
1 changed files with 14 additions and 0 deletions

View File

@ -339,6 +339,20 @@ void VARGS SV_Error (char *error, ...)
Sys_Error ("SV_Error: %s\n",string);
}
#ifdef SERVERONLY
void VARGS Host_EndGame (char *message, ...)
{
va_list argptr;
char string[1024];
va_start (argptr,error);
vsnprintf (string,sizeof(string)-1, error,argptr);
va_end (argptr);
SV_Error("%s", string);
}
#endif
/*
==================
SV_FinalMessage