engine: client: cl_demo: fix usercmd in demo playback
I have no explanation why this works but it kinda does?
This commit is contained in:
parent
f2584dcb9d
commit
3c28b11754
1 changed files with 3 additions and 0 deletions
|
@ -570,6 +570,9 @@ void CL_ReadDemoUserCmd( qboolean discard )
|
|||
memset( &nullcmd, 0, sizeof( nullcmd ));
|
||||
MSG_Init( &buf, "UserCmd", data, sizeof( data ));
|
||||
|
||||
// a1ba: I have no proper explanation why
|
||||
cmdnumber++;
|
||||
|
||||
pcmd = &cl.commands[cmdnumber & CL_UPDATE_MASK];
|
||||
pcmd->processedfuncs = false;
|
||||
pcmd->senttime = 0.0f;
|
||||
|
|
Loading…
Add table
Reference in a new issue