-
Notifications
You must be signed in to change notification settings - Fork 637
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
[CS/CZ] Stripping player weapons leaves hasPrimary offset on true #1
Labels
Milestone
Comments
A lil bug but it is a bug. Needs to be fixed. |
Ruzgfpegk
pushed a commit
to Parpaing-1337-Krew/HL-Parpaing-updated
that referenced
this issue
Jan 5, 2020
Add fixes for Linux
SmileyAG
added a commit
to SmileyAG/halflife
that referenced
this issue
Apr 29, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In CBasePlayer::RemoveAllItems, it should set m_fHasPrimary to false. Without changing this, player won't be able to pickup primary weapons from armoury_entity entity, weaponbox remains working.
@alfred-valve I made a map to demonstrate this bug (and #1116): removed
If you pickup AK47, and then walk into "blue trigger", it will strip your weapons, and you will no longer be able to pickup another AK47.
Additionally, if you kill yourself, and pickup AK47, you will notice that it will be gone from ground. I set "count" to 100, on each AK47, but after first round, it's always reset to 1.
More comments: ValveSoftware/steam-for-linux#1089
The text was updated successfully, but these errors were encountered: