Skip to content

Fix bug in OCTH prone CTH calculation (by Seven) - #221

Merged
Asdow merged 1 commit into
masterfrom
bugfix
Sep 5, 2023
Merged

Fix bug in OCTH prone CTH calculation (by Seven)#221
Asdow merged 1 commit into
masterfrom
bugfix

Conversation

@Asdow

@Asdow Asdow commented Sep 5, 2023

Copy link
Copy Markdown
Contributor

GetToHitBonus() expects BOOLEAN for fProneStance argument, with no comparison to ANIM_PRONE, the ubEndHeight ended up adding bipod bonuses to all stances

GetToHitBonus() expects BOOLEAN for fProneStance argument, with no comparison to ANIM_PRONE, the ubEndHeight ends up adding bipod bonuses to *all* stances
@Asdow
Asdow merged commit 23ceb0f into master Sep 5, 2023
@Asdow
Asdow deleted the bugfix branch September 5, 2023 14:33
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.

1 participant