Browse Source

engine: client: don't reset runfuncs for demoplayback

pull/2/head
Alibek Omarov 12 months ago
parent
commit
c56e876043
  1. 2
      engine/client/cl_main.c

2
engine/client/cl_main.c

@ -607,10 +607,10 @@ void CL_CreateCmd( void ) @@ -607,10 +607,10 @@ void CL_CreateCmd( void )
// message we are constructing.
i = cls.netchan.outgoing_sequence & CL_UPDATE_MASK;
pcmd = &cl.commands[i];
pcmd->processedfuncs = false;
if( !cls.demoplayback )
{
pcmd->processedfuncs = false;
pcmd->senttime = host.realtime;
memset( &pcmd->cmd, 0, sizeof( pcmd->cmd ));
pcmd->receivedtime = -1.0;

Loading…
Cancel
Save