Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register 'bxt_remove_punchangles" if V_CalcRefDef found #394

Merged
merged 1 commit into from
Jan 9, 2023

Conversation

SmileyAG
Copy link
Collaborator

@SmileyAG SmileyAG commented Jan 9, 2023

In modifications as Cry of Fear and PARANOIA - function V_PunchAxis not used and code deleted from it.

Those mods writes punch values to vuser3 variable, PM_DropPunchAngle converts vuser3 to punchangle, which in the end applies to viewangles in V_CalcNormalRefdef.

Set pparams->punchangle to 0.0f is enough to disable the entire punch system in that two mods.

@YaLTeR YaLTeR merged commit 041afc1 into YaLTeR:master Jan 9, 2023
@SmileyAG SmileyAG deleted the always-reg-remove-punchangles branch January 10, 2023 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants