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;