Skip to content

[TF2] fix IncrementAmmo removing ammo if m_iClip1 was already at Max capacity #1398

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kingofings
Copy link

Description

If a player were to touch a resupply during a reload it would then still remove ammo from the player even though the weapons clip is already full. This prevents this by only removing ammo if m_iClip1 is smaller than the max clip capacity.

Before:

2025-07-05.13-52-47.mp4

After:

2025-07-05.13-59-55.mp4

Bitl added a commit to BitlDevelopmentStudios/source-sdk-2013-bds-base that referenced this pull request Jul 6, 2025
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