mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user