SV_Frame(int _usec_) instead of msec

it's microseconds, not milliseconds.
This commit is contained in:
Daniel Gibson 2020-04-08 04:43:02 +02:00
parent bbde4e2a81
commit f1a81a5611
2 changed files with 3 additions and 3 deletions

View file

@ -788,7 +788,7 @@ void SCR_BeginLoadingPlaque(void);
void SV_Init(void);
void SV_Shutdown(char *finalmsg, qboolean reconnect);
void SV_Frame(int msec);
void SV_Frame(int usec);
/* ======================================================================= */

View file

@ -374,7 +374,7 @@ SV_RunGameFrame(void)
}
void
SV_Frame(int msec)
SV_Frame(int usec)
{
#ifndef DEDICATED_ONLY
time_before_game = time_after_game = 0;
@ -386,7 +386,7 @@ SV_Frame(int msec)
return;
}
svs.realtime += msec / 1000;
svs.realtime += usec / 1000;
/* keep the random time dependent */
randk();