mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-14 15:48:04 +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->spectator = 0;
|
||||||
pmove->waterjumptime = sv_player->v.teleport_time;
|
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));
|
Q_memcpy(&pmove->cmd, &cmd, sizeof(pmove->cmd));
|
||||||
|
#endif
|
||||||
|
|
||||||
pmove->dead = sv_player->v.health <= 0.0;
|
pmove->dead = sv_player->v.health <= 0.0;
|
||||||
pmove->movetype = sv_player->v.movetype;
|
pmove->movetype = sv_player->v.movetype;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user