engine: do not reset flNextPrimaryMove in pmove struct, as it's used by modders

This commit is contained in:
Alibek Omarov
2026-01-21 05:10:51 +05:00
parent 56e5a95cb6
commit b2ab748fcb
2 changed files with 0 additions and 2 deletions

View File

@@ -827,7 +827,6 @@ static void CL_SetupPMove( playermove_t *pmove, const local_state_t *from, const
pmove->flFallVelocity = ps->flFallVelocity;
pmove->flSwimTime = (float)cd->flSwimTime;
VectorCopy( cd->punchangle, pmove->punchangle );
pmove->flNextPrimaryAttack = 0.0f; // not used by PM_ code
pmove->effects = ps->effects;
pmove->flags = cd->flags;
pmove->gravity = ps->gravity;

View File

@@ -544,7 +544,6 @@ static void SV_SetupPMove( playermove_t *pmove, sv_client_t *cl, usercmd_t *ucmd
pmove->flFallVelocity = clent->v.flFallVelocity;
pmove->flSwimTime = clent->v.flSwimTime;
VectorCopy( clent->v.punchangle, pmove->punchangle );
pmove->flNextPrimaryAttack = 0.0f; // not used by PM_ code
pmove->effects = clent->v.effects;
pmove->flags = clent->v.flags;
pmove->gravity = clent->v.gravity;