fix the broken dlights. turns out realtime is not the right thing (cl.time is)

This commit is contained in:
Bill Currie 2001-05-20 06:13:20 +00:00
parent d360b01827
commit 88302bd5f0
6 changed files with 9 additions and 9 deletions

View file

@ -705,7 +705,7 @@ _Host_Frame (float time)
if (host_speeds->int_val)
time1 = Sys_DoubleTime ();
SCR_UpdateScreen (realtime);
SCR_UpdateScreen (cl.time);
if (host_speeds->int_val)
time2 = Sys_DoubleTime ();
@ -1001,7 +1001,7 @@ Host_Init (quakeparms_t *parms)
Sys_Printf ("========Quake Initialized=========\n");
SCR_UpdateScreen (realtime);
SCR_UpdateScreen (cl.time);
}

View file

@ -300,7 +300,7 @@ Key_Console (int key)
key_lines[edit_line][1] = 0;
key_linepos = 1;
if (cls.state == ca_disconnected)
SCR_UpdateScreen (realtime); // force an update, because the
SCR_UpdateScreen (cl.time); // force an update, because the
// command may take some time
return;

View file

@ -1199,7 +1199,7 @@ Modem_Response (ComPort * p)
if (b == '\r' && p->bufferUsed) {
p->buffer[p->bufferUsed] = 0;
Con_Printf ("%s\n", p->buffer);
SCR_UpdateScreen ();
SCR_UpdateScreen (cl.time);
p->bufferUsed = 0;
return p->buffer;
}

View file

@ -1297,7 +1297,7 @@ _Datagram_Connect (char *host)
// send the connection request
Con_Printf ("trying...\n");
SCR_UpdateScreen (realtime);
SCR_UpdateScreen (cl.time);
start_time = net_time;
for (reps = 0; reps < 3; reps++) {
@ -1325,7 +1325,7 @@ _Datagram_Connect (char *host)
Con_Printf ("wrong reply address\n");
Con_Printf ("Expected: %s\n", StrAddr (&sendaddr));
Con_Printf ("Received: %s\n", StrAddr (&readaddr));
SCR_UpdateScreen (realtime);
SCR_UpdateScreen (cl.time);
#endif
ret = 0;
continue;
@ -1359,7 +1359,7 @@ _Datagram_Connect (char *host)
if (ret)
break;
Con_Printf ("still trying...\n");
SCR_UpdateScreen (realtime);
SCR_UpdateScreen (cl.time);
start_time = SetNetTime ();
}

View file

@ -796,7 +796,7 @@ _Serial_Connect (char *host, SerialLine * p)
Serial_SendControlMessage (p, &net_message);
last_time = net_time;
Con_Printf ("trying...\n");
SCR_UpdateScreen ();
SCR_UpdateScreen (cl.time);
}
ret = _Serial_GetMessage (p);
}

View file

@ -75,7 +75,7 @@ Con_DPrintf (char *fmt, ...)
}
void
SCR_UpdateScreen (void)
SCR_UpdateScreen (double realtime)
{
}