SV_Frame no longer takes an argument.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1213 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
f4a3068ae2
commit
44017f0918
1 changed files with 2 additions and 9 deletions
|
@ -267,7 +267,6 @@ main
|
|||
*/
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
double time, oldtime, newtime;
|
||||
quakeparms_t parms;
|
||||
// fd_set fdset;
|
||||
// extern int net_socket;
|
||||
|
@ -299,12 +298,11 @@ int main(int argc, char *argv[])
|
|||
SV_Init (&parms);
|
||||
|
||||
// run one frame immediately for first heartbeat
|
||||
SV_Frame (0.1);
|
||||
SV_Frame ();
|
||||
|
||||
//
|
||||
// main loop
|
||||
//
|
||||
oldtime = Sys_DoubleTime () - 0.1;
|
||||
while (1)
|
||||
{
|
||||
if (do_stdin)
|
||||
|
@ -315,12 +313,7 @@ int main(int argc, char *argv[])
|
|||
stdin_ready = false;
|
||||
}
|
||||
|
||||
// find time passed since last cycle
|
||||
newtime = Sys_DoubleTime ();
|
||||
time = newtime - oldtime;
|
||||
oldtime = newtime;
|
||||
|
||||
SV_Frame (time);
|
||||
SV_Frame ();
|
||||
|
||||
// extrasleep is just a way to generate a fucked up connection on purpose
|
||||
if (sys_extrasleep.value)
|
||||
|
|
Loading…
Reference in a new issue