mirror of
https://github.com/rehlds/rehlds.git
synced 2024-12-27 07:05:43 +03:00
Small fix in sv_user.cpp (#1042)
This commit is contained in:
parent
2834fb8494
commit
7073363c88
@ -884,7 +884,11 @@ void SV_RunCmd(usercmd_t *ucmd, int random_seed)
|
||||
pmove->spectator = 0;
|
||||
pmove->waterjumptime = sv_player->v.teleport_time;
|
||||
|
||||
#ifdef REHLDS_FIXES
|
||||
Q_memcpy(&pmove->cmd, ucmd, sizeof(pmove->cmd));
|
||||
#else
|
||||
Q_memcpy(&pmove->cmd, &cmd, sizeof(pmove->cmd));
|
||||
#endif
|
||||
|
||||
pmove->dead = sv_player->v.health <= 0.0;
|
||||
pmove->movetype = sv_player->v.movetype;
|
||||
|
Loading…
Reference in New Issue
Block a user