Skip to content

Fixed not being able to use entities through water and clip brushes #1826

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

Merged
merged 1 commit into from
Jul 5, 2025

Conversation

TW1STaL1CKY
Copy link
Contributor

Currently, trying to use entities and pick up weapons through water and clip brushes doesn't work, even though your TargetId HUD says you can.
This was happening because the clientside trace was using MASK_ALL. I've now changed to MASK_SOLID + CONTENTS_DEBRIS, which is roughly the same mask that the TargetId HUD uses.

I'm aware #1821 exists which I assume would fix this problem when it's eventually merged in, but I thought I would patch this issue specifially while that PR is still in the works.

Copy link
Member

@saibotk saibotk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👍 yes thats still good to have fixed here until i can work on the use PR again

@saibotk saibotk merged commit 717312d into TTT-2:master Jul 5, 2025
4 checks passed
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