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

@@ -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;