mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-01-31 13:20:34 +00:00
Also print errors when build with DEDICATED_ONLY.
This commit is contained in:
parent
ec428bb752
commit
629683ab40
2 changed files with 0 additions and 7 deletions
|
@ -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 */);
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue