From c56e87604385ee61571d9ff77ffe1a520c20dca3 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 4 Jan 2024 06:11:15 +0300 Subject: [PATCH] engine: client: don't reset runfuncs for demoplayback --- engine/client/cl_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/cl_main.c b/engine/client/cl_main.c index ed31537a..cfc4dafe 100644 --- a/engine/client/cl_main.c +++ b/engine/client/cl_main.c @@ -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;