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

[CS/CZ] Stripping player weapons leaves hasPrimary offset on true #1

Closed
xPaw opened this issue Feb 14, 2013 · 1 comment
Closed

[CS/CZ] Stripping player weapons leaves hasPrimary offset on true #1

xPaw opened this issue Feb 14, 2013 · 1 comment

Comments

@xPaw
Copy link

xPaw commented Feb 14, 2013

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

@ghost
Copy link

ghost commented Feb 27, 2013

A lil bug but it is a bug. Needs to be fixed.

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

No branches or pull requests

2 participants