create an SV_Error wrapper for the client to help tidy up model.c

This commit is contained in:
Bill Currie 2000-05-11 22:24:46 +00:00
parent 38f9b705b9
commit ace849a9be
3 changed files with 55 additions and 47 deletions

13
source/cl_misc.c Normal file
View file

@ -0,0 +1,13 @@
#include <quakedef.h>
void SV_Error (char *error, ...)
{
va_list argptr;
static char string[1024];
va_start (argptr,error);
vsprintf (string,error,argptr);
va_end (argptr);
Sys_Error ("%s\n",string);
}