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 trigger_push with upwards push speed not allowing jumping #4

Merged
merged 2 commits into from
Mar 24, 2021

Conversation

Mikusch
Copy link
Owner

@Mikusch Mikusch commented Jan 29, 2021

Don't remove IN_JUMP if the player is currently in a trigger_push.

I didn't really want to add another global variable just to track whether the player is in a trigger_push entity but since there is no way to create rays that can hit trigger entities without using TR_EnumerateEntities, I had no choice.

This should (hopefully) not have a noticeable performance impact.

@Mikusch Mikusch merged commit 940e371 into master Mar 24, 2021
@Mikusch Mikusch deleted the trigger_push-fix branch March 24, 2021 10:46
@Mikusch Mikusch mentioned this pull request Apr 13, 2021
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