Browse Source

engine: client: don't reset runfuncs for demoplayback

pull/2/head
Alibek Omarov 11 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 )
// message we are constructing. // message we are constructing.
i = cls.netchan.outgoing_sequence & CL_UPDATE_MASK; i = cls.netchan.outgoing_sequence & CL_UPDATE_MASK;
pcmd = &cl.commands[i]; pcmd = &cl.commands[i];
pcmd->processedfuncs = false;
if( !cls.demoplayback ) if( !cls.demoplayback )
{ {
pcmd->processedfuncs = false;
pcmd->senttime = host.realtime; pcmd->senttime = host.realtime;
memset( &pcmd->cmd, 0, sizeof( pcmd->cmd )); memset( &pcmd->cmd, 0, sizeof( pcmd->cmd ));
pcmd->receivedtime = -1.0; pcmd->receivedtime = -1.0;

Loading…
Cancel
Save