mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
engine: fix predicting oldbuttons
This commit is contained in:
parent
26404315cb
commit
ed0ca2b2d2
@ -1048,7 +1048,7 @@ void CL_FinishPMove( playermove_t *pmove, local_state_t *to )
|
||||
VectorCopy( pmove->angles, ps->angles );
|
||||
VectorCopy( pmove->basevelocity, ps->basevelocity );
|
||||
VectorCopy( pmove->punchangle, cd->punchangle );
|
||||
ps->oldbuttons = pmove->oldbuttons;
|
||||
ps->oldbuttons = pmove->cmd.buttons;
|
||||
ps->friction = pmove->friction;
|
||||
ps->movetype = pmove->movetype;
|
||||
ps->onground = pmove->onground;
|
||||
|
@ -753,7 +753,7 @@ static void SV_FinishPMove( playermove_t *pmove, sv_client_t *cl )
|
||||
VectorCopy( pmove->movedir, clent->v.movedir );
|
||||
clent->v.flTimeStepSound = pmove->flTimeStepSound;
|
||||
clent->v.flFallVelocity = pmove->flFallVelocity;
|
||||
clent->v.oldbuttons = pmove->oldbuttons;
|
||||
clent->v.oldbuttons = pmove->cmd.buttons;
|
||||
clent->v.waterlevel = pmove->waterlevel;
|
||||
clent->v.watertype = pmove->watertype;
|
||||
clent->v.maxspeed = pmove->clientmaxspeed;
|
||||
|
Loading…
x
Reference in New Issue
Block a user