int l;
int x, y;
int remaining;
+ int color;
// the finale prints the characters one at a time
if (cl.intermission)
else
y = 48;
+ color = -1;
do
{
// scan the width of the line
{
if (remaining < l)
l = remaining;
- DrawQ_String(x, y, start, l, 8, 8, 1, 1, 1, 1, 0);
+ DrawQ_ColoredString(x, y, start, l, 8, 8, 1, 1, 1, 1, 0, &color);
remaining -= l;
if (remaining <= 0)
return;
void MP_Error(const char *format, ...)
{
+ static qboolean processingError = false;
char errorstring[4096];
va_list argptr;
va_end (argptr);
Con_Printf( "Menu_Error: %s\n", errorstring );
- PRVM_Crash();
+ if( !processingError ) {
+ processingError = true;
+ PRVM_Crash();
+ processingError = false;
+ } else {
+ Con_Printf( "Menu_Error: Recursive call to MP_Error (from PRVM_Crash)!\n" );
+ }
// fall back to the normal menu