mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-12 08:08:02 +00:00
engine: client: don't reset runfuncs for demoplayback
This commit is contained in:
parent
9773d11464
commit
c56e876043
@ -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…
Reference in New Issue
Block a user