*/
void Host_Init (void)
{
+ int i;
+
// LordHavoc: quake never seeded the random number generator before... heh
srand(time(NULL));
Cbuf_InsertText("exec teu.rc\n");
else
Cbuf_InsertText("exec quake.rc\n");
+
+ // check for special benchmark mode
+ i = COM_CheckParm("-benchmark");
+ if (i && i + 1 < com_argc)
+ Cbuf_InsertText(va("timedemo %s\n", com_argv[i + 1]));
+
Cbuf_Execute();
}