engine: client: always pass a valid pointer to usercmd_t in ref_params_t to prevent crassh when client.dll reads them during demo playback

This commit is contained in:
Alibek Omarov
2025-05-05 03:40:18 +03:00
parent 47c4844024
commit 3d26ba1ed8
5 changed files with 10 additions and 10 deletions

View File

@@ -234,7 +234,7 @@ typedef struct
cl_local_data_t local;
// player final info
usercmd_t *cmd; // cl.commands[outgoing_sequence].cmd
usercmd_t cmd; // cl.commands[outgoing_sequence].cmd
vec3_t viewangles;
vec3_t viewheight;
vec3_t punchangle;