mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
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:
parent
1f34680832
commit
25f3653d9f
1 changed files with 14 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue