mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-26 22:40:50 +00:00
SV_Frame(int _usec_) instead of msec
it's microseconds, not milliseconds.
This commit is contained in:
parent
bbde4e2a81
commit
f1a81a5611
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
||||
/* ======================================================================= */
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue