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

Magazines retain an empty ammo item in error #15581

Merged
merged 1 commit into from Feb 27, 2016

Conversation

Projects
None yet
2 participants
@mugling
Copy link
Contributor

commented Feb 27, 2016

Currently an item with charges == 0 persists in the magazine which results in the magazine having ammo_remaining() == 0 but ammo_data() != nullptr. A symptom of this is the bug identified by @Firestorm01X2

Fixes #15578

@mugling mugling changed the title Don't retain an empty ammo item in error Magazines retain an empty ammo item in error Feb 27, 2016

@Coolthulhu Coolthulhu self-assigned this Feb 27, 2016

Coolthulhu added a commit that referenced this pull request Feb 27, 2016

Merge pull request #15581 from mugling/gun34
Magazines retain an empty ammo item in error

@Coolthulhu Coolthulhu merged commit b0a3e1e into CleverRaven:master Feb 27, 2016

1 check passed

default This has been rescheduled for testing as the 'master' branch has been updated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.