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

Fix being stuck when dive-rolling in a place that only has enough room to go prone #30

Closed
wants to merge 4 commits into from

Conversation

TomyLobo
Copy link
Collaborator

This patch fixes a few instances of being stuck after a dive-roll by setting the player to prone when that situation is encountered.

I'm not quite sure if that's the correct way to switch from roll to prone. It appears to work, though.

I'm also not entirely sure if removing that "return" in CDAGameMovement::RealPlayerMove has any side effects, but I noticed none.
Removing it was a requirement for CDAGameMovement::Duck, and thus the mitigation code, to run in all instances of stuckness (that I've been able to reproduce).

This PR contains the same cleanup commit as my other PRs (#28 and #29).

This was referenced Mar 21, 2016
BSVino and others added 4 commits March 25, 2016 15:53
@TomyLobo
Copy link
Collaborator Author

I need to close and remake this PR in order to retarget it at the develop branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants