Also print errors when build with DEDICATED_ONLY.

This commit is contained in:
Yamagi Burmeister 2017-09-07 13:17:02 +02:00
parent ec428bb752
commit 629683ab40
2 changed files with 0 additions and 7 deletions

View file

@ -82,10 +82,7 @@ Sys_Error(char *error, ...)
va_start(argptr, error);
vsprintf(text, error, argptr);
va_end(argptr);
#ifndef DEDICATED_ONLY
fprintf(stderr, "Error: %s\n", text);
#endif
MessageBox(NULL, text, "Error", 0 /* MB_OK */);

View file

@ -333,12 +333,10 @@ void
SV_RunGameFrame(void)
{
#ifndef DEDICATED_ONLY
if (host_speeds->value)
{
time_before_game = Sys_Milliseconds();
}
#endif
/* we always need to bump framenum, even if we
@ -366,12 +364,10 @@ SV_RunGameFrame(void)
}
#ifndef DEDICATED_ONLY
if (host_speeds->value)
{
time_after_game = Sys_Milliseconds();
}
#endif
}