X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=cl_demo.c;h=b38a2db5d9f18a70aac5bf01e6c7381b6b2e2464;hb=c369fcf631b61d72c598ae37b01fc89a318044ae;hp=40ada2d1068ae8f46b89226852a9330dd503441f;hpb=069527b0cff9d91784bba159329e01b0b94df752;p=xonotic%2Fdarkplaces.git diff --git a/cl_demo.c b/cl_demo.c index 40ada2d1..b38a2db5 100644 --- a/cl_demo.c +++ b/cl_demo.c @@ -143,7 +143,7 @@ int CL_GetMessage (void) if (host_framecount == cls.td_startframe + 1) cls.td_starttime = realtime; } - else if ( /* cl.time > 0 && */ cl.time <= cl.mtime[0]) + else if (cl.time <= cl.mtime[0]) { return 0; // don't need another message yet } @@ -350,9 +350,6 @@ void CL_PlayDemo_f (void) if (neg) cls.forcetrack = -cls.forcetrack; -// ZOID, fscanf is evil -// fscanf (cls.demofile, "%i\n", &cls.forcetrack); - } /* @@ -402,6 +399,7 @@ void CL_TimeDemo_f (void) // instantly hide console and deactivate it key_dest = key_game; + key_consoleactive = 0; scr_conlines = 0; scr_con_current = 0;